Index: Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp |
index 69c8ebf8aa5469e2ac4bc4e03eab92c0efb8f8f5..edbca921c420a87f3d085bca3e77313f63816e06 100644 |
--- a/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/Source/core/inspector/InspectorPageAgent.cpp |
@@ -655,7 +655,7 @@ void InspectorPageAgent::setDocumentContent(ErrorString* errorString, const Stri |
*errorString = "No Document instance to set HTML for"; |
return; |
} |
- DOMPatchSupport::patchDocument(document, html); |
+ DOMPatchSupport::patchDocument(*document, html); |
} |
void InspectorPageAgent::setDeviceMetricsOverride(ErrorString* errorString, int width, int height, double fontScaleFactor, bool fitWindow) |