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

Issue 133233012: BrowserPlugin: Cleanup ChildFrameCompositingHelper and fix lifetime issue (Closed)

Created:
6 years, 10 months ago by Fady Samuel
Modified:
6 years, 10 months ago
Reviewers:
kenrb, Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

BrowserPlugin: Cleanup ChildFrameCompositingHelper and fix lifetime issue ChildFrameCompositingHelper had a raw pointer to WebPluginContainer, and BrowserPluginManager, which is not safe. In another patch, see https://codereview.chromium.org/140073002/, there is an access to the container after it is deleted, which is causing a use-after-free crash on the win_rel bot. BUG=334531 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248628

Patch Set 1 #

Patch Set 2 : Reupload #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -58 lines) Patch
M content/renderer/browser_plugin/browser_plugin.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M content/renderer/child_frame_compositing_helper.h View 6 chunks +13 lines, -13 lines 0 comments Download
M content/renderer/child_frame_compositing_helper.cc View 9 chunks +50 lines, -37 lines 2 comments Download

Messages

Total messages: 13 (0 generated)
Fady Samuel
6 years, 10 months ago (2014-01-31 17:37:22 UTC) #1
kenrb
One comment, but otherwise lgtm. https://codereview.chromium.org/133233012/diff/80001/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/133233012/diff/80001/content/renderer/child_frame_compositing_helper.cc#newcode77 content/renderer/child_frame_compositing_helper.cc:77: if (!browser_plugin_) nit: is ...
6 years, 10 months ago (2014-01-31 23:44:37 UTC) #2
Fady Samuel
https://codereview.chromium.org/133233012/diff/80001/content/renderer/child_frame_compositing_helper.cc File content/renderer/child_frame_compositing_helper.cc (right): https://codereview.chromium.org/133233012/diff/80001/content/renderer/child_frame_compositing_helper.cc#newcode77 content/renderer/child_frame_compositing_helper.cc:77: if (!browser_plugin_) On 2014/01/31 23:44:37, kenrb wrote: > nit: ...
6 years, 10 months ago (2014-02-03 18:04:20 UTC) #3
Fady Samuel
+creis@ for OWNER review.
6 years, 10 months ago (2014-02-03 19:17:21 UTC) #4
Charlie Reis
LGTM
6 years, 10 months ago (2014-02-03 20:57:15 UTC) #5
Fady Samuel
The CQ bit was checked by fsamuel@chromium.org
6 years, 10 months ago (2014-02-03 21:10:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/133233012/80001
6 years, 10 months ago (2014-02-03 21:11:02 UTC) #7
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-04 00:25:30 UTC) #8
commit-bot: I haz the power
Change committed as 248628
6 years, 10 months ago (2014-02-04 00:25:30 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-04 00:25:31 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-04 00:25:32 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-04 00:25:34 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-04 00:25:38 UTC) #13
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698