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

Unified Diff: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp

Issue 2406263003: Make PointerEvent coordinates fractional for touch (Closed)
Patch Set: Rebased. 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 fd6061e1413aef9cef22d844eebd214c65df1dfb..b9a47aa797eb0befce7a7975982bc811f732ee09 100644
--- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp
@@ -230,7 +230,7 @@ void SliderThumbElement::defaultEventHandler(Event* event) {
}
if (eventType == EventTypeNames::mousemove) {
if (m_inDragMode)
- setPositionFromPoint(mouseEvent->absoluteLocation());
+ setPositionFromPoint(LayoutPoint(mouseEvent->absoluteLocation()));
return;
}

Powered by Google App Engine
This is Rietveld 408576698