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

Unified Diff: third_party/WebKit/Source/core/dom/MutationObserver.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/MutationObserver.cpp
diff --git a/third_party/WebKit/Source/core/dom/MutationObserver.cpp b/third_party/WebKit/Source/core/dom/MutationObserver.cpp
index 0c595bb17a3517d44cc2d2581be6463caa602df6..9bf8da6324c473ddc0fd6fc2f1d21646150d391c 100644
--- a/third_party/WebKit/Source/core/dom/MutationObserver.cpp
+++ b/third_party/WebKit/Source/core/dom/MutationObserver.cpp
@@ -206,7 +206,7 @@ HeapHashSet<Member<Node>> MutationObserver::getObservedNodes() const {
bool MutationObserver::shouldBeSuspended() const {
return m_callback->getExecutionContext() &&
- m_callback->getExecutionContext()->activeDOMObjectsAreSuspended();
+ m_callback->getExecutionContext()->isContextSuspended();
}
void MutationObserver::cancelInspectorAsyncTasks() {

Powered by Google App Engine
This is Rietveld 408576698