Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Unified Diff: third_party/WebKit/Source/core/layout/HitTestResult.cpp

Issue 2347423004: Prune CreateVisiblePositionDeprecate from HitTestResult (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eb65156f5e76c6e07b903c5a4669f59b51b3dd27..46428054f787f5b30b94b89e13d7ecdd4914c02e 100644
--- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
+++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
@@ -358,13 +358,13 @@ bool HitTestResult::isLiveLink() const
return m_innerURLElement && m_innerURLElement->isLiveLink();
}
-// TODO(yosin) We should move |HitTestResult::isMisspelled()| to
+// 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 = createVisiblePositionDeprecated(innerNode()->layoutObject()->positionForPoint(localPoint()));
+ VisiblePosition pos = createVisiblePosition(innerNode()->layoutObject()->positionForPoint(localPoint()));
if (pos.isNull())
return false;
return m_innerNode->document().markers().markersInRange(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698