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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2886113002: Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index 6cbf14726ace79d4fe6c51272924af9033fe9ea4..be8f613bc2f617b7964e92263928cc6760e35540 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -665,7 +665,7 @@ bool WebPluginContainerImpl::WantsWheelEvents() {
WebPluginContainerImpl::WebPluginContainerImpl(HTMLPlugInElement* element,
WebPlugin* web_plugin)
- : ContextClient(element->GetDocument().GetFrame()),
+ : WebPluginContainerBase(element->GetDocument().GetFrame()),
element_(element),
web_plugin_(web_plugin),
web_layer_(nullptr),
@@ -701,8 +701,7 @@ void WebPluginContainerImpl::Dispose() {
DEFINE_TRACE(WebPluginContainerImpl) {
visitor->Trace(parent_);
visitor->Trace(element_);
- ContextClient::Trace(visitor);
- PluginView::Trace(visitor);
+ WebPluginContainerBase::Trace(visitor);
}
void WebPluginContainerImpl::HandleMouseEvent(MouseEvent* event) {

Powered by Google App Engine
This is Rietveld 408576698