Index: Source/core/inspector/InspectorOverlay.cpp |
diff --git a/Source/core/inspector/InspectorOverlay.cpp b/Source/core/inspector/InspectorOverlay.cpp |
index a596c81f43ce55aa5c8cf361b48f35e9f5a782ae..b86598505c4c494a0b094ae2caa74ea91dc56801 100644 |
--- a/Source/core/inspector/InspectorOverlay.cpp |
+++ b/Source/core/inspector/InspectorOverlay.cpp |
@@ -643,13 +643,13 @@ Page* InspectorOverlay::overlayPage() |
RefPtr<Frame> frame = Frame::create(m_overlayPage.get(), 0, dummyFrameLoaderClient); |
frame->setView(FrameView::create(frame.get())); |
frame->init(); |
- FrameLoader* loader = frame->loader(); |
+ FrameLoader& loader = frame->loader(); |
frame->view()->setCanHaveScrollbars(false); |
frame->view()->setTransparent(true); |
- ASSERT(loader->activeDocumentLoader()); |
- DocumentWriter* writer = loader->activeDocumentLoader()->beginWriting("text/html", "UTF-8"); |
+ ASSERT(loader.activeDocumentLoader()); |
+ DocumentWriter* writer = loader.activeDocumentLoader()->beginWriting("text/html", "UTF-8"); |
writer->addData(reinterpret_cast<const char*>(InspectorOverlayPage_html), sizeof(InspectorOverlayPage_html)); |
- loader->activeDocumentLoader()->endWriting(writer); |
+ loader.activeDocumentLoader()->endWriting(writer); |
v8::Isolate* isolate = toIsolate(frame.get()); |
v8::HandleScope handleScope(isolate); |
v8::Handle<v8::Context> frameContext = frame->script().currentWorldContext(); |