| Index: Source/web/WebRange.cpp
|
| diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp
|
| index 564ea5502a324952910685b6907f876d67b9e13d..89230de3102743febb4a2e1ff74859981577d681 100644
|
| --- a/Source/web/WebRange.cpp
|
| +++ b/Source/web/WebRange.cpp
|
| @@ -32,7 +32,7 @@
|
| #include "WebRange.h"
|
|
|
| #include "WebExceptionCode.h"
|
| -#include "WebFrameImpl.h"
|
| +#include "WebLocalFrameImpl.h"
|
| #include "WebNode.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| @@ -110,7 +110,7 @@ WebRange WebRange::expandedToParagraph() const
|
| // static
|
| WebRange WebRange::fromDocumentRange(WebLocalFrame* frame, int start, int length)
|
| {
|
| - WebCore::LocalFrame* webFrame = toWebFrameImpl(frame)->frame();
|
| + WebCore::LocalFrame* webFrame = toWebLocalFrameImpl(frame)->frame();
|
| Element* selectionRoot = webFrame->selection().rootEditableElement();
|
| ContainerNode* scope = selectionRoot ? selectionRoot : webFrame->document()->documentElement();
|
| return PlainTextRange(start, start + length).createRange(*scope);
|
|
|