Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 1541913002: Ensure a guest WebContent's view is removed from the InputEventRouter. (Closed)

Created:
5 years ago by wjmaclean
Modified:
5 years ago
Reviewers:
kenrb, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure a guest WebContent's view is removed from the InputEventRouter. If a guest WebContents goes away before its RenderWidgetHostView is notified of its detaching, then the RenderWidgetHostView will be unable to access the top-level WebContents to remove itself from the RenderWidgetHostInputEventRouter's owner map. This can lead to stale entries in the owners map, and is a potential cause for this issue. BUG=570646

Patch Set 1 #

Patch Set 2 : Account for possibility that RenderWidgetHostViewBase* is null. #

Total comments: 2

Patch Set 3 : Fix variable names. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1541913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1541913002/1
5 years ago (2015-12-21 19:21:20 UTC) #2
wjmaclean
Here's a speculative fix for the RenderWidgetHostInputEventRouter crasher. PTAL? If it solves the problem, then ...
5 years ago (2015-12-21 20:07:47 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1541913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1541913002/20001
5 years ago (2015-12-21 20:08:39 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/46084)
5 years ago (2015-12-21 20:15:57 UTC) #9
kenrb
Thinking about this after our discussion earlier, it looks like we could still have the ...
5 years ago (2015-12-21 21:51:03 UTC) #10
wjmaclean
Agreed, this is not the ultimate fix in the case of multiply nested guests that ...
5 years ago (2015-12-22 12:43:38 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1541913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1541913002/40001
5 years ago (2015-12-22 12:43:52 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-22 13:54:55 UTC) #15
wjmaclean
5 years ago (2015-12-22 15:29:56 UTC) #16
Closing this issue in favour of https://codereview.chromium.org/1545683002

Powered by Google App Engine
This is Rietveld 408576698