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

Unified Diff: third_party/WebKit/Source/platform/geometry/LayoutPoint.h

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
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/geometry/LayoutPoint.h
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
index 412dec3b6c8ba1ed3acb07db146aac49fe1941fd..84db9e37f997dc8ad2c7107995c7f36696bc75c9 100644
--- a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
+++ b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
@@ -205,10 +205,6 @@ inline IntSize pixelSnappedIntSize(const LayoutSize& s, const LayoutPoint& p) {
snapSizeToPixel(s.height(), p.y()));
}
-inline LayoutPoint roundedLayoutPoint(const FloatPoint& p) {
- return LayoutPoint(p);
-}
-
inline IntSize roundedIntSize(const LayoutPoint& p) {
return IntSize(p.x().round(), p.y().round());
}
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698