Index: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
index 85533521b771d00a056fb9e4c168a478d3395402..1c5cfeca7fe39ce801b85599934d93f31d09c402 100644 |
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm |
@@ -45,6 +45,7 @@ |
#include "core/frame/LocalFrameView.h" |
#include "core/frame/VisualViewport.h" |
#include "core/frame/WebFrameWidgetBase.h" |
+#include "core/frame/WebLocalFrameBase.h" |
#include "core/html/HTMLElement.h" |
#include "core/layout/HitTestResult.h" |
#include "core/layout/LayoutObject.h" |
@@ -57,7 +58,6 @@ |
#include "public/web/WebHitTestResult.h" |
#include "public/web/WebLocalFrame.h" |
#include "public/web/WebRange.h" |
-#include "web/WebLocalFrameImpl.h" |
using namespace blink; |
@@ -198,7 +198,7 @@ NSAttributedString* WebSubstringUtil::AttributedSubstringInRange( |
size_t location, |
size_t length, |
WebPoint* baseline_point) { |
- LocalFrame* frame = ToWebLocalFrameImpl(web_frame)->GetFrame(); |
+ LocalFrame* frame = ToWebLocalFrameBase(web_frame)->GetFrame(); |
if (frame->View()->NeedsLayout()) |
frame->View()->UpdateLayout(); |