| 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 313c60961fa38c1b8d8dc15b07b556042993da67..46ac39f87723169eb47e8031d066a0c7aa41e57e 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| @@ -239,23 +239,6 @@ bool HitTestResult::isSelected() const
|
| return false;
|
| }
|
|
|
| -String HitTestResult::spellingToolTip(TextDirection& dir) const
|
| -{
|
| - dir = LTR;
|
| - // Return the tool tip string associated with this point, if any. Only markers associated with bad grammar
|
| - // currently supply strings, but maybe someday markers associated with misspelled words will also.
|
| - if (!m_innerNode)
|
| - return String();
|
| -
|
| - DocumentMarker* marker = m_innerNode->document().markers().markerContainingPoint(m_hitTestLocation.point(), DocumentMarker::Grammar);
|
| - if (!marker)
|
| - return String();
|
| -
|
| - if (LayoutObject* layoutObject = m_innerNode->layoutObject())
|
| - dir = layoutObject->style()->direction();
|
| - return marker->description();
|
| -}
|
| -
|
| String HitTestResult::title(TextDirection& dir) const
|
| {
|
| dir = LTR;
|
|
|