Index: third_party/WebKit/public/platform/WebPointerProperties.h |
diff --git a/third_party/WebKit/public/platform/WebPointerProperties.h b/third_party/WebKit/public/platform/WebPointerProperties.h |
index 2a453cd22fd7ae5b7a0fc193ec751f6fb9f5aa28..0b25af9d19e3550ca1e0c1a81d86b1b40aa95e1e 100644 |
--- a/third_party/WebKit/public/platform/WebPointerProperties.h |
+++ b/third_party/WebKit/public/platform/WebPointerProperties.h |
@@ -46,8 +46,8 @@ class WebPointerProperties { |
kLastEntry = kTouch // Must be the last entry in the list |
}; |
- WebPointerProperties() |
- : id(0), |
+ explicit WebPointerProperties(int id_param) |
+ : id(id_param), |
force(std::numeric_limits<float>::quiet_NaN()), |
tilt_x(0), |
tilt_y(0), |
@@ -58,8 +58,10 @@ class WebPointerProperties { |
movement_x(0), |
movement_y(0) {} |
- WebPointerProperties(Button button_param, PointerType pointer_type_param) |
- : id(0), |
+ WebPointerProperties(int id_param, |
+ Button button_param, |
+ PointerType pointer_type_param) |
+ : id(id_param), |
force(std::numeric_limits<float>::quiet_NaN()), |
tilt_x(0), |
tilt_y(0), |