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

Unified Diff: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.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/html/shadow/SliderThumbElement.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp
index fead6f8529ac8adfaec846211606d59e90d68948..fd6061e1413aef9cef22d844eebd214c65df1dfb 100644
--- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp
@@ -108,7 +108,7 @@ void SliderThumbElement::setPositionFromPoint(const LayoutPoint& point) {
if (!input->layoutObject() || !layoutBox() || !trackElement->layoutBox())
return;
- LayoutPoint offset = roundedLayoutPoint(
+ LayoutPoint offset = LayoutPoint(
input->layoutObject()->absoluteToLocal(FloatPoint(point), UseTransforms));
bool isVertical = hasVerticalAppearance(input);
bool isLeftToRightDirection = layoutBox()->style()->isLeftToRightDirection();
@@ -122,7 +122,7 @@ void SliderThumbElement::setPositionFromPoint(const LayoutPoint& point) {
LayoutPoint absoluteThumbOrigin =
layoutBox()->absoluteBoundingBoxRectIgnoringTransforms().location();
LayoutPoint absoluteSliderContentOrigin =
- roundedLayoutPoint(input->layoutObject()->localToAbsolute());
+ LayoutPoint(input->layoutObject()->localToAbsolute());
IntRect trackBoundingBox =
trackElement->layoutObject()->absoluteBoundingBoxRectIgnoringTransforms();
IntRect inputBoundingBox =

Powered by Google App Engine
This is Rietveld 408576698