| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 15f0799bdd6337f05ac7d1a844955c360bb3b745..7a3fdc2d7a1c41646677f0bbd4c2a56c98070288 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1240,7 +1240,7 @@ bool WebLocalFrameImpl::hasSelection() const
|
|
|
| WebRange WebLocalFrameImpl::selectionRange() const
|
| {
|
| - return frame()->selection().toNormalizedRange();
|
| + return createRange(frame()->selection().selection().toNormalizedEphemeralRange());
|
| }
|
|
|
| WebString WebLocalFrameImpl::selectionAsText() const
|
|
|