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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.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/LayoutSVGContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
index 30f9114be05994a3934637fe4eed78466cc86d68..e08cd1f5f8c8d7ecb29c06ccffaf5a8000373e50 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -194,7 +194,7 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result,
for (LayoutObject* child = lastChild(); child;
child = child->previousSibling()) {
if (child->nodeAtFloatPoint(result, localPoint, hitTestAction)) {
- const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
+ const LayoutPoint& localLayoutPoint = LayoutPoint(localPoint);
updateHitTestResult(result, localLayoutPoint);
if (result.addNodeToListBasedTestResult(
child->node(), localLayoutPoint) == StopHitTesting)
@@ -209,7 +209,7 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result,
// containers.
if (isObjectBoundingBoxValid() &&
objectBoundingBox().contains(localPoint)) {
- const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
+ const LayoutPoint& localLayoutPoint = LayoutPoint(localPoint);
updateHitTestResult(result, localLayoutPoint);
if (result.addNodeToListBasedTestResult(element(), localLayoutPoint) ==
StopHitTesting)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698