diff options
author | raymes <raymes@chromium.org> | 2015-12-16 21:28:55 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-17 05:30:27 +0000 |
commit | f1d0d6cd58239a58092c7761f4181c6c8cf2a3a1 (patch) | |
tree | 021f1e1fd83257889fc33b717c41549ae390eb0b /third_party/custom_tabs_client | |
parent | fcfffcfcf25003c2293b921e8c1c53437a3235ce (diff) | |
download | chromium_src-f1d0d6cd58239a58092c7761f4181c6c8cf2a3a1.zip chromium_src-f1d0d6cd58239a58092c7761f4181c6c8cf2a3a1.tar.gz chromium_src-f1d0d6cd58239a58092c7761f4181c6c8cf2a3a1.tar.bz2 |
Only send MimeHandlerViewGuestOnLoadCompleted messages when the guest is attached.
Even though DocumentOnLoadCompletedInMainFrame should never be called before
the MimeHandlerViewGuest has been attached, it may be called after it has
become detached from its embedder. In this case we need to be careful not to
access the embedder.
A CHECK has also been added to confirm that the crash in the associated bug
isn't because the MimeHandlerViewGuests embedder has been destroyed. (I believe
it should be alive at this point).
BUG=569990
Review URL: https://codereview.chromium.org/1531173002
Cr-Commit-Position: refs/heads/master@{#365756}
Diffstat (limited to 'third_party/custom_tabs_client')
0 files changed, 0 insertions, 0 deletions