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

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

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 | « LayoutTests/fast/xsl/xslt-processor-expected.txt ('k') | Source/core/xml/XSLTProcessor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XSLTProcessor.h
diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h
index 638ed06ea5f062616e21888345896a67ceee0f2a..262d4cff9d41662b411dc9732c42734511777393 100644
--- a/Source/core/xml/XSLTProcessor.h
+++ b/Source/core/xml/XSLTProcessor.h
@@ -56,8 +56,7 @@ public:
// DOM methods
void importStylesheet(PassRefPtrWillBeRawPtr<Node> style)
{
- if (style)
- m_stylesheetRootNode = style;
+ m_stylesheetRootNode = style;
}
PassRefPtrWillBeRawPtr<DocumentFragment> transformToFragment(Node* source, Document* ouputDoc);
PassRefPtrWillBeRawPtr<Document> transformToDocument(Node* source);
« no previous file with comments | « LayoutTests/fast/xsl/xslt-processor-expected.txt ('k') | Source/core/xml/XSLTProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698