Index: Source/core/inspector/InspectorOverlay.cpp |
diff --git a/Source/core/inspector/InspectorOverlay.cpp b/Source/core/inspector/InspectorOverlay.cpp |
index a33fb4cd62d3cc88b1a8c22cdd0917fd6f297a07..cb81f1304be3fc252727f4460bfca7104e94f46d 100644 |
--- a/Source/core/inspector/InspectorOverlay.cpp |
+++ b/Source/core/inspector/InspectorOverlay.cpp |
@@ -633,7 +633,7 @@ Page* InspectorOverlay::overlayPage() |
DocumentWriter* writer = loader->activeDocumentLoader()->beginWriting("text/html", "UTF-8"); |
writer->addData(reinterpret_cast<const char*>(InspectorOverlayPage_html), sizeof(InspectorOverlayPage_html)); |
loader->activeDocumentLoader()->endWriting(writer); |
- v8::Isolate* isolate = isolateForFrame(frame.get()); |
+ v8::Isolate* isolate = toIsolate(frame.get()); |
v8::HandleScope handleScope(isolate); |
v8::Handle<v8::Context> frameContext = frame->script()->currentWorldContext(); |
v8::Context::Scope contextScope(frameContext); |