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

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

Issue 280393004: Update Gamepad.axes / GamepadButton.value to match the latest specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
Index: Source/modules/gamepad/GamepadCommon.cpp
diff --git a/Source/modules/gamepad/GamepadCommon.cpp b/Source/modules/gamepad/GamepadCommon.cpp
index bab5498cce811152f829b12ba94ade8b99e8e00c..f66d61f540dc2fab1d561757626cc9c02b403cf7 100644
--- a/Source/modules/gamepad/GamepadCommon.cpp
+++ b/Source/modules/gamepad/GamepadCommon.cpp
@@ -38,7 +38,7 @@ GamepadCommon::~GamepadCommon()
{
}
-void GamepadCommon::setAxes(unsigned count, const float* data)
+void GamepadCommon::setAxes(unsigned count, const double* data)
{
m_axes.resize(count);
if (count)

Powered by Google App Engine
This is Rietveld 408576698