Index: content/browser/gamepad/platform_data_fetcher_win.cc |
diff --git a/content/browser/gamepad/platform_data_fetcher_win.cc b/content/browser/gamepad/platform_data_fetcher_win.cc |
index 8a50a38694e3ba7409644ed04ec67f2b270dec9c..92587a4df2c0057f76f0a82f79914e7516f1fd0c 100644 |
--- a/content/browser/gamepad/platform_data_fetcher_win.cc |
+++ b/content/browser/gamepad/platform_data_fetcher_win.cc |
@@ -147,6 +147,8 @@ void GamepadPlatformDataFetcherWin::GetGamepadData(WebGamepads* pads, |
} |
bool GamepadPlatformDataFetcherWin::GetXinputDllFunctions() { |
+ xinput_get_capabilities_ = NULL; |
+ xinput_get_state_ = NULL; |
xinput_enable_ = static_cast<XInputEnableFunc>( |
xinput_dll_.GetFunctionPointer("XInputEnable")); |
if (!xinput_enable_) |