forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of Introduce WebPluginContainerBase to abstract WebPluginConta…
…inerImpl. (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}
- Loading branch information
1 parent
6d7a0de
commit ba5159d
Showing
17 changed files
with
99 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
third_party/WebKit/Source/core/exported/WebPluginContainerBase.cpp
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
third_party/WebKit/Source/core/exported/WebPluginContainerBase.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.