| 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 1dd81ed9d38c11f6266dd88a574a475fecccc33c..9d249c288613914683272633c3c318a85577aedb 100644
|
| --- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -182,10 +182,12 @@ const char* NavigatorGamepad::supplementName() {
|
| return "NavigatorGamepad";
|
| }
|
|
|
| -void NavigatorGamepad::contextDestroyed() {
|
| +void NavigatorGamepad::contextDestroyed(ExecutionContext*) {
|
| stopUpdating();
|
| }
|
|
|
| +void NavigatorGamepad::contextDestroyed(Page*) {}
|
| +
|
| void NavigatorGamepad::registerWithDispatcher() {
|
| GamepadDispatcher::instance().addController(this);
|
| m_dispatchOneEventRunner->resume();
|
|
|