Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index 4fd05f07038345b59fdd54b33fc797f3e7b8bab1..38120b1c3276dc8c946b546a7b58c4b37f0826f3 100755 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -811,7 +811,7 @@ void InspectorDOMAgent::setOuterHTML(ErrorString* errorString, int nodeId, const |
return; |
Document* document = node->isDocumentNode() ? toDocument(node) : node->ownerDocument(); |
- if (!document || (!document->isHTMLDocument() && !document->isXHTMLDocument() && !document->isSVGDocument())) { |
+ if (!document || (!document->isHTMLDocument() && !document->isXMLDocument())) { |
*errorString = "Not an HTML/XML document"; |
return; |
} |