| Index: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| index 31c543700cd96ef3000129a304b8cae045bd9fb0..7b225b9fe93d9fae92f45d91626d2661f61c5cdf 100644
|
| --- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| @@ -40,7 +40,7 @@ v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context> context)
|
| {
|
| ScriptState* scriptState = ScriptState::from(context);
|
| v8::Local<v8::Object> global = scriptState->context()->Global();
|
| - ExecutionContext* executionContext = scriptState->executionContext();
|
| + ExecutionContext* executionContext = scriptState->getExecutionContext();
|
| if (executionContext->isDocument())
|
| return toV8(Internals::create(scriptState), global, scriptState->isolate());
|
| return v8::Local<v8::Value>();
|
| @@ -65,7 +65,7 @@ void resetInternalsObject(v8::Local<v8::Context> context)
|
|
|
| ScriptState* scriptState = ScriptState::from(context);
|
| ScriptState::Scope scope(scriptState);
|
| - Document* document = toDocument(scriptState->executionContext());
|
| + Document* document = toDocument(scriptState->getExecutionContext());
|
| ASSERT(document);
|
| LocalFrame* frame = document->frame();
|
| // Should the document have been detached, the page is assumed being destroyed (=> no reset required.)
|
|
|