Index: Source/core/testing/v8/WebCoreTestSupport.cpp |
diff --git a/Source/core/testing/v8/WebCoreTestSupport.cpp b/Source/core/testing/v8/WebCoreTestSupport.cpp |
index 6675bef878501ac8f444e8853d98010691854607..1f80c3b6e4d2c79b7fcb4747d8e054698fd31aa5 100644 |
--- a/Source/core/testing/v8/WebCoreTestSupport.cpp |
+++ b/Source/core/testing/v8/WebCoreTestSupport.cpp |
@@ -41,7 +41,7 @@ void injectInternalsObject(v8::Local<v8::Context> context) |
{ |
ScriptState* scriptState = ScriptState::from(context); |
ScriptState::Scope scope(scriptState); |
- v8::Handle<v8::Object> global = scriptState->context()->Global(); |
+ v8::Local<v8::Object> global = scriptState->context()->Global(); |
ExecutionContext* executionContext = scriptState->executionContext(); |
if (executionContext->isDocument()) |
global->Set(v8AtomicString(scriptState->isolate(), Internals::internalsId), toV8(Internals::create(toDocument(executionContext)), global, scriptState->isolate())); |