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

Unified Diff: Source/core/xml/XSLTProcessor.cpp

Issue 996603003: Add [TypeChecking=Interface] to XSLTProcessor interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test Created 5 years, 9 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/xml/XSLTProcessor.h ('k') | Source/core/xml/XSLTProcessor.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/xml/XSLTProcessor.h ('k') | Source/core/xml/XSLTProcessor.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698