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

Unified Diff: third_party/WebKit/Source/core/html/forms/RangeInputType.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/forms/RangeInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
index cb452f1df8cdaf76467516ef23c4aa13cce32ce9..5a46a2257b62582efb9604dbf2c305573bf72364 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
@@ -167,7 +167,7 @@ void RangeInputType::handleMouseDownEvent(MouseEvent* event) {
SliderThumbElement* thumb = sliderThumbElement();
if (targetNode == thumb)
return;
- thumb->dragFrom(event->absoluteLocation());
+ thumb->dragFrom(LayoutPoint(event->absoluteLocation()));
}
void RangeInputType::handleKeydownEvent(KeyboardEvent* event) {

Powered by Google App Engine
This is Rietveld 408576698