Index: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.cpp b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.cpp |
index d96facbcd0c70a6eefed8504a89e1b700607aae5..8b5ae6693535c8cce2233116fa6fa0e50a3d9500 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.cpp |
@@ -51,7 +51,8 @@ void V8MutationCallback::Call( |
const HeapVector<Member<MutationRecord>>& mutations, |
MutationObserver* observer) { |
v8::Isolate* isolate = script_state_->GetIsolate(); |
- ExecutionContext* execution_context = script_state_->GetExecutionContext(); |
+ ExecutionContext* execution_context = |
+ ExecutionContext::From(script_state_.Get()); |
if (!execution_context || execution_context->IsContextSuspended() || |
execution_context->IsContextDestroyed()) |
return; |