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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.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/LayoutSVGShape.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
index 299be691a410dfe162b5ddb87e211b8f507eabde..c3b871491be7b8da7f2f8790e0310ba08ecfd6ae 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
@@ -266,7 +266,7 @@ bool LayoutSVGShape::nodeAtFloatPoint(HitTestResult& result,
result.hitTestRequest(),
style()->pointerEvents());
if (nodeAtFloatPointInternal(result.hitTestRequest(), localPoint, hitRules)) {
- const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
+ const LayoutPoint& localLayoutPoint = LayoutPoint(localPoint);
updateHitTestResult(result, localLayoutPoint);
if (result.addNodeToListBasedTestResult(element(), localLayoutPoint) ==
StopHitTesting)

Powered by Google App Engine
This is Rietveld 408576698