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

Issue 2888283004: Revert of Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. (Closed)

Created:
3 years, 7 months ago by jbroman
Modified:
3 years, 7 months ago
Reviewers:
tkent, slangley, sashab, dcheng
CC:
blink-reviews, chromium-reviews, dcheng, kinuko+watch, mlamouri+watch-blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. (patchset #2 id:20001 of https://codereview.chromium.org/2886113002/ ) Reason for revert: Causes leak failure in editing/selection/selection-plugin-clear-crash.html. https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty%20Leak/builds/4790 (and locally, I get crashes in debug) Original issue's description: > Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. > > Many classes in web/ take a dependancy on WebPluginContainerImpl, in some cases > this dependency is cyclic. In order to break this dependency we introduce a new > temporary abstraction WebPluginContainerBase, that derives from PlugingView, > WebPluginContainer and ContextClient. > > Classes that were taking a dependency on WebPluginContainerImpl now take a > dependency on WebPluginContainerBase. In cases where there we methods that > were only defined in WebPluginContainerImpl we make them pure virtual in > WebPluginContainerBase and override them in WebPluginContainerImpl. > > As WebPluginContainerImpl is garbage collected, we move this to > WebPluginContainerBase and define a virtual trace method. > > The intention is for this abstraction to be temporary, once we move all of the > dependencies into core/ we can remove it. > > I put the new class in core/exported as it derives from WebPluginContainer. > > > BUG=712963 > > Review-Url: https://codereview.chromium.org/2886113002 > Cr-Commit-Position: refs/heads/master@{#472810} > Committed: https://chromium.googlesource.com/chromium/src/+/303acce5cc18d95d46342bd089e06957841bc21b TBR=tkent@chromium.org,dcheng@chromium.org,sashab@chromium.org,slangley@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=712963 Review-Url: https://codereview.chromium.org/2888283004 Cr-Commit-Position: refs/heads/master@{#472915} Committed: https://chromium.googlesource.com/chromium/src/+/ba5159d871bb21b4b151262dd9234d0261b81331

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -189 lines) Patch
M third_party/WebKit/Source/core/exported/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/core/exported/WebPluginContainerBase.h View 1 chunk +0 lines, -76 lines 0 comments Download
D third_party/WebKit/Source/core/exported/WebPluginContainerBase.cpp View 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/ContextMenuClientImpl.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebHelperPluginImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebHelperPluginImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 18 chunks +24 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/web/WebNode.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.h View 4 chunks +20 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginDocument.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 19 chunks +22 lines, -22 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
jbroman
Created Revert of Introduce WebPluginContainerBase to abstract WebPluginContainerImpl.
3 years, 7 months ago (2017-05-18 20:19:50 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888283004/1
3 years, 7 months ago (2017-05-18 20:21:42 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/ba5159d871bb21b4b151262dd9234d0261b81331
3 years, 7 months ago (2017-05-18 20:22:48 UTC) #6
tkent
3 years, 7 months ago (2017-05-18 23:24:17 UTC) #7
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698