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

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

Issue 2572323002: Delete WebGamepads::length. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « third_party/WebKit/public/platform/Platform.h ('k') | third_party/WebKit/public/platform/WebGamepads.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebGamepad.h
diff --git a/third_party/WebKit/public/platform/WebGamepad.h b/third_party/WebKit/public/platform/WebGamepad.h
index 34ca8284d7340be76670dd58bbd5b9df561016b0..0e14669cb6b640e60a2c1301c25a61d2d2f0effd 100644
--- a/third_party/WebKit/public/platform/WebGamepad.h
+++ b/third_party/WebKit/public/platform/WebGamepad.h
@@ -90,7 +90,11 @@ class WebGamepad {
static const size_t buttonsLengthCap = 32;
WebGamepad()
- : connected(false), timestamp(0), axesLength(0), buttonsLength(0) {
+ : connected(false),
+ timestamp(0),
+ axesLength(0),
+ buttonsLength(0),
+ displayId(0) {
id[0] = 0;
mapping[0] = 0;
}
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | third_party/WebKit/public/platform/WebGamepads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698