Index: third_party/WebKit/Source/web/WebSurroundingText.cpp |
diff --git a/third_party/WebKit/Source/web/WebSurroundingText.cpp b/third_party/WebKit/Source/web/WebSurroundingText.cpp |
index 1c869936095d0bcfe492a789778e71551a87cbdc..084ea7abf4cae07413b888ebc6956ad56464630b 100644 |
--- a/third_party/WebKit/Source/web/WebSurroundingText.cpp |
+++ b/third_party/WebKit/Source/web/WebSurroundingText.cpp |
@@ -32,10 +32,11 @@ |
#include "core/editing/FrameSelection.h" |
#include "core/editing/SurroundingText.h" |
#include "core/editing/VisiblePosition.h" |
+#include "core/frame/LocalFrame.h" |
+#include "core/frame/WebLocalFrameBase.h" |
#include "core/layout/LayoutObject.h" |
#include "public/platform/WebPoint.h" |
#include "public/web/WebHitTestResult.h" |
-#include "web/WebLocalFrameImpl.h" |
namespace blink { |
@@ -70,7 +71,7 @@ void WebSurroundingText::Initialize(const WebNode& web_node, |
void WebSurroundingText::InitializeFromCurrentSelection(WebLocalFrame* frame, |
size_t max_length) { |
- LocalFrame* web_frame = ToWebLocalFrameImpl(frame)->GetFrame(); |
+ LocalFrame* web_frame = ToWebLocalFrameBase(frame)->GetFrame(); |
// TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets |
// needs to be audited. See http://crbug.com/590369 for more details. |