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

Unified Diff: Source/modules/gamepad/GamepadButton.cpp

Issue 280393004: Update Gamepad.axes / GamepadButton.value to match the latest specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back #ifdefs Created 6 years, 7 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 | « Source/modules/gamepad/GamepadButton.h ('k') | Source/modules/gamepad/GamepadButton.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/GamepadButton.cpp
diff --git a/Source/modules/gamepad/GamepadButton.cpp b/Source/modules/gamepad/GamepadButton.cpp
index 70ebc562ef4c971c01c369dba8eda63d8284e682..cb64dc9ca7745294b70c3098137e448ec42795ff 100644
--- a/Source/modules/gamepad/GamepadButton.cpp
+++ b/Source/modules/gamepad/GamepadButton.cpp
@@ -13,7 +13,7 @@ GamepadButton* GamepadButton::create()
}
GamepadButton::GamepadButton()
- : m_value(0.f)
+ : m_value(0.)
, m_pressed(false)
{
ScriptWrappable::init(this);
« no previous file with comments | « Source/modules/gamepad/GamepadButton.h ('k') | Source/modules/gamepad/GamepadButton.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698