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

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

Issue 2877363002: Move more classes over to use WebLocalFrameBase instead of WebLocalFrameImpl. (Closed)
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/web/WebHelperPluginImpl.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/WebHelperPluginImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp b/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp
index 8d1ed13d81bf04d77ae9c21e9a3c7bcab39da6c3..08269910dfd948e6d1abd33d72bc9b072e7dec2f 100644
--- a/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp
+++ b/third_party/WebKit/Source/web/WebHelperPluginImpl.cpp
@@ -31,10 +31,10 @@
#include "web/WebHelperPluginImpl.h"
#include "core/frame/LocalFrameClient.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/html/HTMLObjectElement.h"
#include "core/loader/FrameLoader.h"
#include "public/web/WebPlugin.h"
-#include "web/WebLocalFrameImpl.h"
#include "web/WebPluginContainerImpl.h"
namespace blink {
@@ -45,7 +45,7 @@ WebHelperPlugin* WebHelperPlugin::Create(const WebString& plugin_type,
WebLocalFrame* frame) {
WebHelperPluginUniquePtr plugin(new WebHelperPluginImpl());
if (!ToWebHelperPluginImpl(plugin.get())
- ->Initialize(plugin_type, ToWebLocalFrameImpl(frame)))
+ ->Initialize(plugin_type, ToWebLocalFrameBase(frame)))
return 0;
return plugin.release();
}
@@ -54,7 +54,7 @@ WebHelperPluginImpl::WebHelperPluginImpl()
: destruction_timer_(this, &WebHelperPluginImpl::ReallyDestroy) {}
bool WebHelperPluginImpl::Initialize(const String& plugin_type,
- WebLocalFrameImpl* frame) {
+ WebLocalFrameBase* frame) {
DCHECK(!object_element_ && !plugin_container_);
if (!frame->GetFrame()->Loader().Client())
return false;
« no previous file with comments | « third_party/WebKit/Source/web/WebHelperPluginImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698