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/dom/ExecutionContext.h

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/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index 89ba2e134507d735f16749cadeb69a231dd9ab6f..470734e223b5414356c1d3204fa045ebfcb563a0 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -141,9 +141,7 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
virtual void tasksWereSuspended() {}
virtual void tasksWereResumed() {}
- bool activeDOMObjectsAreSuspended() const {
- return m_activeDOMObjectsAreSuspended;
- }
+ bool isContextSuspended() const { return m_isContextSuspended; }
bool isContextDestroyed() const { return m_isContextDestroyed; }
// Called after the construction of an SuspendableObject to synchronize
@@ -200,7 +198,7 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
bool m_inDispatchErrorEvent;
HeapVector<Member<ErrorEvent>> m_pendingExceptions;
- bool m_activeDOMObjectsAreSuspended;
+ bool m_isContextSuspended;
bool m_isContextDestroyed;
Member<PublicURLManager> m_publicURLManager;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698