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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 0795e7cf4dbd1efcdb85daa4a1a800f844f99716..6337632872a64d42ede0b9c77bd2b4434db78a19 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -542,8 +542,7 @@ Document::Document(const DocumentInit& initializer,
// objects, else this new Document would have a new ExecutionContext which
// suspended state would not match the one from the parent, and could start
// loading resources ignoring the defersLoading flag.
- DCHECK(!parentDocument() ||
- !parentDocument()->activeDOMObjectsAreSuspended());
+ DCHECK(!parentDocument() || !parentDocument()->isContextSuspended());
#ifndef NDEBUG
liveDocumentSet().add(this);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698