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

Unified Diff: third_party/WebKit/Source/core/dom/SuspendableObject.h

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (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/core/dom/SuspendableObject.h
diff --git a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h b/third_party/WebKit/Source/core/dom/SuspendableObject.h
similarity index 90%
rename from third_party/WebKit/Source/core/dom/ActiveDOMObject.h
rename to third_party/WebKit/Source/core/dom/SuspendableObject.h
index 118e0f649d2e870eb9164baa626468a67798ea31..b0405474004f09915c903cd636421d380c5e8903 100644
--- a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
+++ b/third_party/WebKit/Source/core/dom/SuspendableObject.h
@@ -24,8 +24,8 @@
*
*/
-#ifndef ActiveDOMObject_h
-#define ActiveDOMObject_h
+#ifndef SuspendableObject_h
+#define SuspendableObject_h
#include "core/CoreExport.h"
#include "core/dom/ContextLifecycleObserver.h"
@@ -33,9 +33,9 @@
namespace blink {
-class CORE_EXPORT ActiveDOMObject : public ContextLifecycleObserver {
+class CORE_EXPORT SuspendableObject : public ContextLifecycleObserver {
public:
- ActiveDOMObject(ExecutionContext*);
+ SuspendableObject(ExecutionContext*);
// suspendIfNeeded() should be called exactly once after object construction
// to synchronize the suspend state with that in ExecutionContext.
@@ -52,7 +52,7 @@ class CORE_EXPORT ActiveDOMObject : public ContextLifecycleObserver {
void didMoveToNewExecutionContext(ExecutionContext*);
protected:
- virtual ~ActiveDOMObject();
+ virtual ~SuspendableObject();
private:
#if DCHECK_IS_ON()
@@ -62,4 +62,4 @@ class CORE_EXPORT ActiveDOMObject : public ContextLifecycleObserver {
} // namespace blink
-#endif // ActiveDOMObject_h
+#endif // SuspendableObject_h

Powered by Google App Engine
This is Rietveld 408576698