| Index: Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
|
| index ace404bdaad1d74a174998838f35b9a699b7461f..c02c516e51316eb2421912c8e10842e902c9448b 100644
|
| --- a/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -786,7 +786,8 @@ void InspectorDOMAgent::getOuterHTML(ErrorString* errorString, int nodeId, WTF::
|
| void InspectorDOMAgent::setOuterHTML(ErrorString* errorString, int nodeId, const String& outerHTML)
|
| {
|
| if (!nodeId) {
|
| - DOMPatchSupport domPatchSupport(m_domEditor.get(), m_document.get());
|
| + ASSERT(m_document);
|
| + DOMPatchSupport domPatchSupport(m_domEditor.get(), *m_document.get());
|
| domPatchSupport.patchDocument(outerHTML);
|
| return;
|
| }
|
|
|