| 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);
|
|
|