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

Unified Diff: third_party/WebKit/public/platform/WebTouchPoint.h

Issue 2860663006: Remove WebTouchEvent from TouchEventManager APIs (Closed)
Patch Set: Add TODO for clarification of the fields Created 3 years, 6 months 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/public/platform/WebTouchPoint.h
diff --git a/third_party/WebKit/public/platform/WebTouchPoint.h b/third_party/WebKit/public/platform/WebTouchPoint.h
index e204cd7d2d4565c1b7a113f8f1763f2fccbbfe57..a4fdc06d6257028abfd3ddab325d88dcb1dbc513 100644
--- a/third_party/WebKit/public/platform/WebTouchPoint.h
+++ b/third_party/WebKit/public/platform/WebTouchPoint.h
@@ -41,8 +41,10 @@ namespace blink {
// crbug.com/508283
class WebTouchPoint : public WebPointerProperties {
public:
- WebTouchPoint()
- : WebPointerProperties(0),
+ WebTouchPoint() : WebTouchPoint(WebPointerProperties(0)) {}
+
+ WebTouchPoint(WebPointerProperties web_pointer_properties)
+ : WebPointerProperties(web_pointer_properties),
state(kStateUndefined),
radius_x(0),
radius_y(0),

Powered by Google App Engine
This is Rietveld 408576698