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

Issue 1326603002: Oilpan: update plugin handling to work over plugins persisted over reattach (Closed)

Created:
5 years, 3 months ago by sof
Modified:
5 years, 3 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: update plugin handling to work over plugins persisted over reattach Following Blink r201401, a plugin element's persisted plugin will be cleared out upon the plugin element being removed from the tree or being re-attached and there being no layout object. With Oilpan, this may bring about disposal of the underlying plugin. A disposed persisted plugin is consequently observable if subsequently try to return the plugin wrapper object for the plugin element -- add the required check so as to handle this properly. R=haraken BUG=526999 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201572

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M Source/core/html/HTMLPlugInElement.cpp View 1 chunk +2 lines, -0 lines 2 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
sof
please take a look.
5 years, 3 months ago (2015-09-01 13:44:43 UTC) #2
haraken
LGTM https://codereview.chromium.org/1326603002/diff/1/Source/core/html/HTMLPlugInElement.cpp File Source/core/html/HTMLPlugInElement.cpp (right): https://codereview.chromium.org/1326603002/diff/1/Source/core/html/HTMLPlugInElement.cpp#newcode120 Source/core/html/HTMLPlugInElement.cpp:120: m_persistedPluginWidget->dispose(); I'm wondering why we don't call m_persistedPluginWidget->dispose() ...
5 years, 3 months ago (2015-09-01 14:32:25 UTC) #4
sof
https://codereview.chromium.org/1326603002/diff/1/Source/core/html/HTMLPlugInElement.cpp File Source/core/html/HTMLPlugInElement.cpp (right): https://codereview.chromium.org/1326603002/diff/1/Source/core/html/HTMLPlugInElement.cpp#newcode120 Source/core/html/HTMLPlugInElement.cpp:120: m_persistedPluginWidget->dispose(); On 2015/09/01 14:32:25, haraken wrote: > > I'm ...
5 years, 3 months ago (2015-09-01 21:37:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326603002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326603002/1
5 years, 3 months ago (2015-09-01 21:38:12 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 21:46:24 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201572

Powered by Google App Engine
This is Rietveld 408576698