| Index: sky/engine/web/WebLocalFrameImpl.cpp
|
| diff --git a/sky/engine/web/WebLocalFrameImpl.cpp b/sky/engine/web/WebLocalFrameImpl.cpp
|
| index 9ad8d129aaaff271066e7caedc28fc5a33cb7336..c0c2ce661a829cb5f92085c709840e18453139e3 100644
|
| --- a/sky/engine/web/WebLocalFrameImpl.cpp
|
| +++ b/sky/engine/web/WebLocalFrameImpl.cpp
|
| @@ -94,7 +94,6 @@
|
| #include "sky/engine/core/editing/TextAffinity.h"
|
| #include "sky/engine/core/editing/TextIterator.h"
|
| #include "sky/engine/core/editing/htmlediting.h"
|
| -#include "sky/engine/core/editing/markup.h"
|
| #include "sky/engine/core/frame/Console.h"
|
| #include "sky/engine/core/frame/FrameHost.h"
|
| #include "sky/engine/core/frame/FrameView.h"
|
| @@ -541,15 +540,6 @@ WebString WebLocalFrameImpl::selectionAsText() const
|
| return text;
|
| }
|
|
|
| -WebString WebLocalFrameImpl::selectionAsMarkup() const
|
| -{
|
| - RefPtr<Range> range = frame()->selection().toNormalizedRange();
|
| - if (!range)
|
| - return WebString();
|
| -
|
| - return createMarkup(range.get(), 0, AnnotateForInterchange, false, ResolveNonLocalURLs);
|
| -}
|
| -
|
| void WebLocalFrameImpl::selectWordAroundPosition(LocalFrame* frame, VisiblePosition position)
|
| {
|
| VisibleSelection selection(position);
|
| @@ -648,13 +638,6 @@ WebString WebLocalFrameImpl::contentAsText(size_t maxChars) const
|
| return text.toString();
|
| }
|
|
|
| -WebString WebLocalFrameImpl::contentAsMarkup() const
|
| -{
|
| - if (!frame())
|
| - return WebString();
|
| - return createMarkup(frame()->document());
|
| -}
|
| -
|
| WebString WebLocalFrameImpl::renderTreeAsText(RenderAsTextControls toShow) const
|
| {
|
| RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal;
|
|
|