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

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

Issue 2592823003: Replace the remaining DOMWindowProperty with ContextClient (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5660cd411fec17f6ec962b8651a913f25bc58e62..56be05ae5aa2c20ec6d60d0b4e865d0327abf4d2 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -662,14 +662,13 @@ bool WebPluginContainerImpl::wantsWheelEvents() {
WebPluginContainerImpl::WebPluginContainerImpl(HTMLPlugInElement* element,
WebPlugin* webPlugin)
- : DOMWindowProperty(element->document().frame()),
+ : ContextClient(element->document().frame()),
m_element(element),
m_webPlugin(webPlugin),
m_webLayer(nullptr),
m_touchEventRequestType(TouchEventRequestTypeNone),
m_wantsWheelEvents(false),
- m_isDisposed(false) {
-}
+ m_isDisposed(false) {}
WebPluginContainerImpl::~WebPluginContainerImpl() {
// The plugin container must have been disposed of by now.
@@ -696,7 +695,7 @@ void WebPluginContainerImpl::dispose() {
DEFINE_TRACE(WebPluginContainerImpl) {
visitor->trace(m_element);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
PluginView::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698