Index: Source/web/WebDevToolsFrontendImpl.cpp |
diff --git a/Source/web/WebDevToolsFrontendImpl.cpp b/Source/web/WebDevToolsFrontendImpl.cpp |
index 3e1241a2a9cf73075ba86a977e52f280bbc7d301..64ad9b9916daf161c4e889822580da411c464adb 100644 |
--- a/Source/web/WebDevToolsFrontendImpl.cpp |
+++ b/Source/web/WebDevToolsFrontendImpl.cpp |
@@ -145,7 +145,7 @@ void WebDevToolsFrontendImpl::doDispatchOnInspectorFrontend(const WebString& mes |
return; |
v8::Isolate* isolate = toIsolate(frame->frame()); |
v8::HandleScope scope(isolate); |
- v8::Handle<v8::Context> frameContext = frame->frame()->script()->currentWorldContext(); |
+ v8::Handle<v8::Context> frameContext = frame->frame()->script().currentWorldContext(); |
v8::Context::Scope contextScope(frameContext); |
v8::Handle<v8::Value> inspectorFrontendApiValue = frameContext->Global()->Get(v8::String::New("InspectorFrontendAPI")); |
if (!inspectorFrontendApiValue->IsObject()) |