Index: Source/web/mac/WebSubstringUtil.mm |
diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm |
index b24385b941ab4491458942f805dc42a261599a0c..75af03fb46245268e0b54289be2980f220decdf0 100644 |
--- a/Source/web/mac/WebSubstringUtil.mm |
+++ b/Source/web/mac/WebSubstringUtil.mm |
@@ -34,7 +34,7 @@ |
#import <Cocoa/Cocoa.h> |
-#include "WebFrameImpl.h" |
+#include "WebLocalFrameImpl.h" |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
#include "core/dom/Document.h" |
#include "core/dom/Element.h" |
@@ -149,7 +149,7 @@ NSAttributedString* WebSubstringUtil::attributedWordAtPoint(WebView* view, WebPo |
NSAttributedString* WebSubstringUtil::attributedSubstringInRange(WebLocalFrame* webFrame, size_t location, size_t length) |
{ |
- LocalFrame* frame = toWebFrameImpl(webFrame)->frame(); |
+ LocalFrame* frame = toWebLocalFrameImpl(webFrame)->frame(); |
if (frame->view()->needsLayout()) |
frame->view()->layout(); |