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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 1dd34866f725d64668bf7815fc52753f20e36e10..581c8bba0c350b8dc3f674150f57f37478136f47 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1765,9 +1765,9 @@ StaticNodeList* Internals::nodesFromRect(Document* document,
return nullptr;
float zoomFactor = frame->pageZoomFactor();
- LayoutPoint point = roundedLayoutPoint(
- FloatPoint(centerX * zoomFactor + frameView->scrollX(),
- centerY * zoomFactor + frameView->scrollY()));
+ LayoutPoint point =
+ LayoutPoint(FloatPoint(centerX * zoomFactor + frameView->scrollX(),
+ centerY * zoomFactor + frameView->scrollY()));
HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly |
HitTestRequest::Active |
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp ('k') | third_party/WebKit/Source/platform/geometry/LayoutPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698