| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index eb48a0c2f7d3ad6bb64d350b5536b3d8d0067ee8..6ed921e2abe9549d79ce104e867078d8e64e9880 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -73,7 +73,6 @@
|
| #include "core/editing/PlainTextRange.h"
|
| #include "core/editing/SpellCheckRequester.h"
|
| #include "core/editing/SpellChecker.h"
|
| -#include "core/editing/SurroundingText.h"
|
| #include "core/editing/TextIterator.h"
|
| #include "core/fetch/MemoryCache.h"
|
| #include "core/fetch/ResourceFetcher.h"
|
| @@ -2334,15 +2333,6 @@ void Internals::setValueForUser(Element* element, const String& value)
|
| toHTMLInputElement(element)->setValueForUser(value);
|
| }
|
|
|
| -String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long maxLength)
|
| -{
|
| - if (!node)
|
| - return String();
|
| - blink::WebPoint point(x, y);
|
| - SurroundingText surroundingText(VisiblePosition(node->renderer()->positionForPoint(static_cast<IntPoint>(point))), maxLength);
|
| - return surroundingText.content();
|
| -}
|
| -
|
| void Internals::setFocused(bool focused)
|
| {
|
| frame()->page()->focusController().setFocused(focused);
|
|
|