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