| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 94e1f662dae20e3096993c330fe9356b3092032a..d665531035636e305d309a642e6c9324fda2f935 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1254,11 +1254,7 @@ WebString WebLocalFrameImpl::selectionAsMarkup() const
|
| if (pluginContainer)
|
| return pluginContainer->plugin()->selectionAsMarkup();
|
|
|
| - const EphemeralRange range = frame()->selection().selection().toNormalizedEphemeralRange();
|
| - if (range.isNull())
|
| - return WebString();
|
| -
|
| - return createMarkup(range.startPosition(), range.endPosition(), AnnotateForInterchange, ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs);
|
| + return frame()->selection().selectedHTMLForClipboard();
|
| }
|
|
|
| void WebLocalFrameImpl::selectWordAroundPosition(LocalFrame* frame, VisiblePosition position)
|
|
|