| Index: third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
|
| index a5b8619dabe9c7de65f20824d50f1af244036509..902a2fd8a8ba2f161401784e68b7dc07cf32f551 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "bindings/core/v8/V8BindingForTesting.h"
|
|
|
| #include "bindings/core/v8/V8Binding.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/testing/DummyPageHolder.h"
|
|
|
| @@ -43,7 +44,7 @@ ScriptState* V8TestingScope::GetScriptState() const {
|
| }
|
|
|
| ExecutionContext* V8TestingScope::GetExecutionContext() const {
|
| - return GetScriptState()->GetExecutionContext();
|
| + return ExecutionContext::From(GetScriptState());
|
| }
|
|
|
| v8::Isolate* V8TestingScope::GetIsolate() const {
|
|
|