| Index: third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.cpp b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| index 46428054f787f5b30b94b89e13d7ecdd4914c02e..8aa9c83f29c1c0476832b5e2bd8c24a7bec54f54 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| @@ -28,7 +28,6 @@
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/editing/EditingUtilities.h"
|
| #include "core/editing/FrameSelection.h"
|
| -#include "core/editing/markers/DocumentMarkerController.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/HTMLAreaElement.h"
|
| #include "core/html/HTMLImageElement.h"
|
| @@ -358,19 +357,6 @@ bool HitTestResult::isLiveLink() const
|
| return m_innerURLElement && m_innerURLElement->isLiveLink();
|
| }
|
|
|
| -// TODO(xiaochengh): We should move |HitTestResult::isMisspelled()| to
|
| -// "SelectionController.cpp" as static function.
|
| -bool HitTestResult::isMisspelled() const
|
| -{
|
| - if (!innerNode() || !innerNode()->layoutObject())
|
| - return false;
|
| - VisiblePosition pos = createVisiblePosition(innerNode()->layoutObject()->positionForPoint(localPoint()));
|
| - if (pos.isNull())
|
| - return false;
|
| - return m_innerNode->document().markers().markersInRange(
|
| - EphemeralRange(pos.deepEquivalent().parentAnchoredEquivalent()), DocumentMarker::MisspellingMarkers()).size() > 0;
|
| -}
|
| -
|
| bool HitTestResult::isOverLink() const
|
| {
|
| return m_innerURLElement && m_innerURLElement->isLink();
|
|
|