| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h
|
| index ef03a45b31bb914664a089bd21855a80f46bbf62..379dcc2de8fcff6c079a3436e6b9f7595f8c24df 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h
|
| @@ -9,7 +9,6 @@
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptPromiseProperties.h"
|
| #include "core/CoreExport.h"
|
| -#include "core/dom/ContextLifecycleObserver.h"
|
| #include "wtf/Compiler.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/Vector.h"
|
| @@ -24,10 +23,7 @@ class ScriptState;
|
|
|
| // TODO(yhirano): Remove NEVER_INLINE once we find the cause of crashes.
|
| class CORE_EXPORT ScriptPromisePropertyBase
|
| - : public GarbageCollectedFinalized<ScriptPromisePropertyBase>,
|
| - public ContextLifecycleObserver {
|
| - USING_GARBAGE_COLLECTED_MIXIN(ScriptPromisePropertyBase);
|
| -
|
| + : public GarbageCollectedFinalized<ScriptPromisePropertyBase> {
|
| public:
|
| virtual ~ScriptPromisePropertyBase();
|
|
|
| @@ -43,7 +39,7 @@ class CORE_EXPORT ScriptPromisePropertyBase
|
| Rejected,
|
| };
|
| State getState() const { return m_state; }
|
| -
|
| + ExecutionContext* getExecutionContext() const;
|
| ScriptPromise promise(DOMWrapperWorld&);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -85,6 +81,7 @@ class CORE_EXPORT ScriptPromisePropertyBase
|
| v8::Local<v8::String> promiseName();
|
| v8::Local<v8::String> resolverName();
|
|
|
| + Member<ExecutionContext> m_executionContext;
|
| v8::Isolate* m_isolate;
|
| Name m_name;
|
| State m_state;
|
|
|