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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.h

Issue 2382873003: Fix use of uninitialized value in msan builds (Closed)
Patch Set: Created 4 years, 3 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/Source/core/events/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index 13a167a11980a8aed743a73ab266fafbdd48a049..1359d5b538ba5cf6a0624c0acb56aaed9b35a852 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -89,7 +89,9 @@ private:
typedef struct PointerAttributes {
IncomingId incomingId;
bool isActiveButtons;
- PointerAttributes() {}
+ PointerAttributes()
+ : incomingId()
+ , isActiveButtons(false) {}
PointerAttributes(IncomingId incomingId, unsigned isActiveButtons)
: incomingId(incomingId)
, isActiveButtons(isActiveButtons) {}
« 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