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

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.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/modules/navigatorcontentutils/NavigatorContentUtils.cpp
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
index d74c7e7249c101114ec3b9e1af1beef50a9b89bf..54ac3bdb0f80585628e7aac1b6f24def4b9cc368 100644
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
@@ -200,7 +200,7 @@ String NavigatorContentUtils::isProtocolHandlerRegistered(
Document* document = navigator.frame()->document();
ASSERT(document);
- if (document->activeDOMObjectsAreStopped())
+ if (document->isContextDestroyed())
return declined;
if (!verifyCustomHandlerURL(*document, url, exceptionState))

Powered by Google App Engine
This is Rietveld 408576698