Index: Source/core/inspector/InspectorOverlay.cpp |
diff --git a/Source/core/inspector/InspectorOverlay.cpp b/Source/core/inspector/InspectorOverlay.cpp |
index d5ab4f36bd97dd7b02b247660d3a58468389f63f..17ef71e0cc59b55f2ac30434b64d6c575e57f436 100644 |
--- a/Source/core/inspector/InspectorOverlay.cpp |
+++ b/Source/core/inspector/InspectorOverlay.cpp |
@@ -759,8 +759,8 @@ Page* InspectorOverlay::overlayPage() |
ScriptState* scriptState = ScriptState::forMainWorld(frame.get()); |
ASSERT(scriptState->contextIsValid()); |
ScriptState::Scope scope(scriptState); |
- v8::Handle<v8::Object> global = scriptState->context()->Global(); |
- v8::Handle<v8::Value> overlayHostObj = toV8(m_overlayHost.get(), global, isolate); |
+ v8::Local<v8::Object> global = scriptState->context()->Global(); |
+ v8::Local<v8::Value> overlayHostObj = toV8(m_overlayHost.get(), global, isolate); |
global->Set(v8::String::NewFromUtf8(isolate, "InspectorOverlayHost"), overlayHostObj); |
#if OS(WIN) |