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

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

Issue 2728713002: Fix msan failure on WebPointerProperties. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ad2704ae526e8ecf5eb670d1aa0ef4e7cabbd00d..c9fa68a2d9088895ff43be15e262712c9fda3b43 100644
--- a/third_party/WebKit/public/platform/WebPointerProperties.h
+++ b/third_party/WebKit/public/platform/WebPointerProperties.h
@@ -46,7 +46,9 @@ class WebPointerProperties {
tangentialPressure(0.0f),
twist(0),
button(Button::NoButton),
- pointerType(PointerType::Unknown) {}
+ pointerType(PointerType::Unknown),
+ movementX(0),
+ movementY(0) {}
WebPointerProperties(Button buttonParam, PointerType pointerTypeParam)
: id(0),
@@ -56,7 +58,9 @@ class WebPointerProperties {
tangentialPressure(0.0f),
twist(0),
button(buttonParam),
- pointerType(pointerTypeParam) {}
+ pointerType(pointerTypeParam),
+ movementX(0),
+ movementY(0) {}
int id;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698