Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
index fb9db297893d1d14450ce216efec2d4e8b7b5daa..e08b11f52e99e2e6247a78aff4640a03acfedc8d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp |
@@ -66,8 +66,7 @@ ScriptValue ScriptState::GetFromExtrasExports(const char* name) { |
} |
ExecutionContext* ScriptState::GetExecutionContext() const { |
- v8::HandleScope scope(isolate_); |
- return ToExecutionContext(GetContext()); |
+ return ExecutionContext::From(this); |
} |
} // namespace blink |