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

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

Issue 2433773006: Remove ExecutionContext::activeDOMObjectsAreStopped()
Patch Set: Created 4 years, 2 months 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 5283fd87c1623bf4baa3c62728a5a2c12b232379..9705cfb8eca4ab6fe42d9a75ca74458de0b6a6b8 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->activeDOMObjectsAreStopped() ||
- document->activeDOMObjectsAreSuspended())
+ if (document->activeDOMObjectsAreSuspended())
return;
const GamepadDispatcher::ConnectionChange& change =

Powered by Google App Engine
This is Rietveld 408576698