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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp

Issue 2491703004: Replace roundedLayoutPoint with LayoutPoint (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index 7af76e12086d3561393a35335178ce7dd078f866..e5688e916c765961501517c8839e90f135f2aaea 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -311,7 +311,7 @@ bool LayoutSVGText::nodeAtFloatPoint(HitTestResult& result,
// Consider the bounding box if requested.
if (hitRules.canHitBoundingBox &&
objectBoundingBox().contains(localPoint)) {
- const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
+ const LayoutPoint& localLayoutPoint = LayoutPoint(localPoint);
updateHitTestResult(result, localLayoutPoint);
if (result.addNodeToListBasedTestResult(node(), localLayoutPoint) ==
StopHitTesting)

Powered by Google App Engine
This is Rietveld 408576698