Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index ff37425527755ddafdea159cfee9727e97708d26..4efc01ecd58e530981f3cba4f2dc728e85f8aaff 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -122,6 +122,7 @@ |
#include "core/editing/spellcheck/SpellChecker.h" |
#include "core/exported/WebAssociatedURLLoaderImpl.h" |
#include "core/exported/WebDataSourceImpl.h" |
+#include "core/exported/WebViewBase.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/frame/PageScaleConstraintsSet.h" |
@@ -231,7 +232,6 @@ |
#include "web/WebFrameWidgetImpl.h" |
#include "web/WebPluginContainerImpl.h" |
#include "web/WebRemoteFrameImpl.h" |
-#include "web/WebViewImpl.h" |
namespace blink { |
@@ -1738,7 +1738,7 @@ void WebLocalFrameImpl::CreateFrameView() { |
DCHECK(GetFrame()); // If frame() doesn't exist, we probably didn't init |
// properly. |
- WebViewImpl* web_view = ViewImpl(); |
+ WebViewBase* web_view = ViewImpl(); |
// Check if we're shutting down. |
if (!web_view->GetPage()) |
@@ -1787,7 +1787,7 @@ WebLocalFrameImpl* WebLocalFrameImpl::FromFrameOwnerElement(Element* element) { |
ToLocalFrame(ToHTMLFrameOwnerElement(element)->ContentFrame())); |
} |
-WebViewImpl* WebLocalFrameImpl::ViewImpl() const { |
+WebViewBase* WebLocalFrameImpl::ViewImpl() const { |
if (!GetFrame()) |
return nullptr; |
return WebViewImpl::FromPage(GetFrame()->GetPage()); |