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

Unified Diff: third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp

Issue 2552993002: Rename activeDOMObjectsAreStopped to isContextDestroyed (Closed)
Patch Set: 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/core/frame/DeviceSingleWindowEventController.cpp
diff --git a/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp b/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
index 9b441b2d7de3cda79aa1078842515c78f6e93717..15d2b6dcb163f5c7990a03d7e338732e795e29a8 100644
--- a/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
+++ b/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
@@ -26,7 +26,7 @@ void DeviceSingleWindowEventController::didUpdateData() {
void DeviceSingleWindowEventController::dispatchDeviceEvent(Event* event) {
if (!document().domWindow() || document().activeDOMObjectsAreSuspended() ||
- document().activeDOMObjectsAreStopped())
+ document().isContextDestroyed())
return;
document().domWindow()->dispatchEvent(event);

Powered by Google App Engine
This is Rietveld 408576698