Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp

Issue 2587913002: Rename activeDOMObjectsAreSuspended to isContextSuspended (Closed)
Patch Set: temp Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698