| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index c538e52fe03e920c16639acdc75ba543509e3637..8424883db760d673c96339ebf1ff2d86b3c12f29 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -47,7 +47,6 @@
|
| #include "core/html/imports/HTMLImportLoader.h"
|
| #include "core/html/imports/HTMLImportsController.h"
|
| #include "core/html/parser/TextResourceDecoder.h"
|
| -#include "core/inspector/DOMPatchSupport.h"
|
| #include "core/inspector/IdentifiersFactory.h"
|
| #include "core/inspector/InspectedFrames.h"
|
| #include "core/inspector/InspectorCSSAgent.h"
|
| @@ -642,7 +641,7 @@ Response InspectorPageAgent::setDocumentContent(const String& frame_id,
|
| Document* document = frame->GetDocument();
|
| if (!document)
|
| return Response::Error("No Document instance to set HTML for");
|
| - DOMPatchSupport::PatchDocument(*document, html);
|
| + document->SetContent(html);
|
| return Response::OK();
|
| }
|
|
|
|
|