| Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| index dea52c5872e76d27a440625c4063e109f2f468ca..3127ec2aa39530908613b7e3849660a75213b709 100644
|
| --- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| +++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| @@ -554,11 +554,10 @@ Page* InspectorOverlay::overlayPage() {
|
|
|
| const WebData& overlayPageHTMLResource =
|
| Platform::current()->loadResource("InspectorOverlayPage.html");
|
| - RefPtr<SharedBuffer> data = SharedBuffer::create(
|
| - overlayPageHTMLResource.data(), overlayPageHTMLResource.size());
|
| - loader.load(FrameLoadRequest(
|
| - 0, blankURL(), SubstituteData(data, "text/html", "UTF-8", KURL(),
|
| - ForceSynchronousLoad)));
|
| + loader.load(
|
| + FrameLoadRequest(0, blankURL(),
|
| + SubstituteData(overlayPageHTMLResource, "text/html",
|
| + "UTF-8", KURL(), ForceSynchronousLoad)));
|
| v8::Isolate* isolate = toIsolate(frame);
|
| ScriptState* scriptState = ScriptState::forMainWorld(frame);
|
| DCHECK(scriptState);
|
|
|