Index: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
diff --git a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
index 5735dc4deff19eb40905159fa36ab1793a7c6323..3acee34d65cb5701be65ed276cda1ecd15648e6f 100644 |
--- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
+++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
@@ -45,6 +45,7 @@ static void sampleGamepad(unsigned index, T& gamepad, const WebGamepad& webGamep |
gamepad.setMapping(webGamepad.mapping); |
gamepad.setAxes(webGamepad.axesLength, webGamepad.axes); |
gamepad.setButtons(webGamepad.buttonsLength, webGamepad.buttons); |
+ gamepad.setPose(webGamepad.pose); |
} |
template<typename GamepadType, typename ListType> |