| Index: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
|
| index 69bd90a53aec4f9779a85bfe835f756e09a1b540..5dc0f7a134eab9e25ab564e93bf56e3948c4db89 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "bindings/core/v8/ActiveDOMCallback.h"
|
| #include "bindings/core/v8/ScopedPersistent.h"
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/MutationCallback.h"
|
| #include "wtf/RefPtr.h"
|
| #include <v8.h>
|
| @@ -35,7 +36,6 @@
|
| namespace blink {
|
|
|
| class ExecutionContext;
|
| -class ScriptState;
|
|
|
| class V8MutationCallback final : public MutationCallback,
|
| public ActiveDOMCallback {
|
| @@ -51,8 +51,9 @@ class V8MutationCallback final : public MutationCallback,
|
|
|
| void call(const HeapVector<Member<MutationRecord>>&,
|
| MutationObserver*) override;
|
| +
|
| ExecutionContext* getExecutionContext() const override {
|
| - return ContextLifecycleObserver::getExecutionContext();
|
| + return m_scriptState->getExecutionContext();
|
| }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|