| 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 546499b170c21cfbdcc6f7feab2dd0fa51615e27..8b4411abfaefc37c1c2b2bd3ea5224e79e06a36b 100644
|
| --- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -130,8 +130,7 @@ void NavigatorGamepad::didUpdateData() {
|
| if (!m_hasEventListener)
|
| return;
|
|
|
| - if (document->isContextDestroyed() ||
|
| - document->activeDOMObjectsAreSuspended())
|
| + if (document->isContextDestroyed() || document->isContextSuspended())
|
| return;
|
|
|
| const GamepadDispatcher::ConnectionChange& change =
|
|
|