| 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 5283fd87c1623bf4baa3c62728a5a2c12b232379..f99ab0b83ea9004ec640d49795dfeac47a8a21c6 100644
|
| --- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -130,7 +130,7 @@ void NavigatorGamepad::didUpdateData() {
|
| if (!m_hasEventListener)
|
| return;
|
|
|
| - if (document->activeDOMObjectsAreStopped() ||
|
| + if (document->isContextDestroyed() ||
|
| document->activeDOMObjectsAreSuspended())
|
| return;
|
|
|
|
|