Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1236)

Unified Diff: Source/core/inspector/InspectorPageAgent.cpp

Issue 23453033: Have DOMPatchSupport and DocumentFragment deal with Document references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorDOMAgent.cpp ('k') | Source/core/platform/DragData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/inspector/InspectorDOMAgent.cpp ('k') | Source/core/platform/DragData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698