Index: Source/core/xml/XSLTProcessor.cpp |
diff --git a/Source/core/xml/XSLTProcessor.cpp b/Source/core/xml/XSLTProcessor.cpp |
index 732751140b332b52513495d6490fab19d1123bb2..5391097adf156e3c705ebb312aa060f3f46e9e8b 100644 |
--- a/Source/core/xml/XSLTProcessor.cpp |
+++ b/Source/core/xml/XSLTProcessor.cpp |
@@ -106,9 +106,6 @@ PassRefPtrWillBeRawPtr<Document> XSLTProcessor::createDocumentFromSource(const S |
PassRefPtrWillBeRawPtr<Document> XSLTProcessor::transformToDocument(Node* sourceNode) |
{ |
- if (!sourceNode) |
- return nullptr; |
- |
String resultMIMEType; |
String resultString; |
String resultEncoding; |
@@ -119,9 +116,6 @@ PassRefPtrWillBeRawPtr<Document> XSLTProcessor::transformToDocument(Node* source |
PassRefPtrWillBeRawPtr<DocumentFragment> XSLTProcessor::transformToFragment(Node* sourceNode, Document* outputDoc) |
{ |
- if (!sourceNode || !outputDoc) |
- return nullptr; |
- |
String resultMIMEType; |
String resultString; |
String resultEncoding; |