Don't acquire getTitle() if Tab has been destroyed in PseudoTab
Now with fields such as Title being migrated to UserData objects we enforce that the attribute cannot be acquired after destroy() has been called. Unfortunately, in PseuoTab getTitle() was called after destroy() causing the app to crash which is an invalid assumption. This CL adds an isInitialized() check before the getTitle() call. Bug: 1114564 Change-Id: I064ae7d3601d45116cb198885ef64ff42a2aac7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346785Reviewed-by:Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: David Maunder <davidjm@chromium.org> Cr-Commit-Position: refs/heads/master@{#796431}
Showing
Please register or sign in to comment