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

Issue 1652093002: Support reviving a disposed plugin container. (Closed)

Created:
4 years, 10 months ago by sof
Modified:
4 years, 10 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support reviving a disposed plugin container. When a plugin element updates its 'persisted' renderless widget (a plugin container most likely), we notify the previous one kept as having been detached and disposed of. The plugin container must then promptly clear the reference to its external WebPlugin (and others), for safety. It is however possible for the embedder to still keep references to that plugin container and afterwards revive it by assigning it a replacement plugin. Support such revivification. R=haraken BUG=582811 Committed: https://crrev.com/1e3f5cea12f2e519f5f353fffa91e640aa758bfd Cr-Commit-Position: refs/heads/master@{#372907}

Patch Set 1 #

Patch Set 2 : tidy event listener removal #

Total comments: 2

Patch Set 3 : rename m_inDispose to m_isDisposed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M third_party/WebKit/Source/web/WebPluginContainerImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 6 chunks +11 lines, -13 lines 0 comments Download

Messages

Total messages: 22 (10 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/1652093002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652093002/20001
4 years, 10 months ago (2016-02-01 16:05:23 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-01 17:18:36 UTC) #4
sof
please take a look.
4 years, 10 months ago (2016-02-01 19:11:09 UTC) #7
haraken
> It is however possible for the embedder to still keep references to that > ...
4 years, 10 months ago (2016-02-02 01:33:52 UTC) #9
sof
On 2016/02/02 01:33:52, haraken wrote: > > It is however possible for the embedder to ...
4 years, 10 months ago (2016-02-02 06:20:05 UTC) #10
haraken
On 2016/02/02 06:20:05, sof wrote: > On 2016/02/02 01:33:52, haraken wrote: > > > It ...
4 years, 10 months ago (2016-02-02 06:20:53 UTC) #11
sof
https://codereview.chromium.org/1652093002/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/1652093002/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode706 third_party/WebKit/Source/web/WebPluginContainerImpl.cpp:706: m_inDispose = true; On 2016/02/02 01:33:51, haraken wrote: > ...
4 years, 10 months ago (2016-02-02 06:34:01 UTC) #13
dcheng
On 2016/02/02 at 06:34:01, sigbjornf wrote: > https://codereview.chromium.org/1652093002/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp > File third_party/WebKit/Source/web/WebPluginContainerImpl.cpp (right): > > https://codereview.chromium.org/1652093002/diff/20001/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp#newcode706 ...
4 years, 10 months ago (2016-02-02 06:36:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652093002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652093002/40001
4 years, 10 months ago (2016-02-02 06:37:03 UTC) #17
sof
On 2016/02/02 06:36:16, dcheng wrote: > On 2016/02/02 at 06:34:01, sigbjornf wrote: > > > ...
4 years, 10 months ago (2016-02-02 07:15:02 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-02 08:09:48 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 08:16:15 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1e3f5cea12f2e519f5f353fffa91e640aa758bfd
Cr-Commit-Position: refs/heads/master@{#372907}

Powered by Google App Engine
This is Rietveld 408576698