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

Side by Side Diff: third_party/WebKit/Source/core/xml/XSLTProcessor.h

Issue 2274573004: Replace ASSERT*() with DCHECK*() in core/xml/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of the XSL implementation. 2 * This file is part of the XSL implementation.
3 * 3 *
4 * Copyright (C) 2004, 2007, 2008 Apple, Inc. All rights reserved. 4 * Copyright (C) 2004, 2007, 2008 Apple, Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 26 matching lines...) Expand all
37 37
38 class LocalFrame; 38 class LocalFrame;
39 class Document; 39 class Document;
40 class DocumentFragment; 40 class DocumentFragment;
41 41
42 class XSLTProcessor final : public GarbageCollectedFinalized<XSLTProcessor>, pub lic ScriptWrappable { 42 class XSLTProcessor final : public GarbageCollectedFinalized<XSLTProcessor>, pub lic ScriptWrappable {
43 DEFINE_WRAPPERTYPEINFO(); 43 DEFINE_WRAPPERTYPEINFO();
44 public: 44 public:
45 static XSLTProcessor* create(Document& document) 45 static XSLTProcessor* create(Document& document)
46 { 46 {
47 ASSERT(RuntimeEnabledFeatures::xsltEnabled()); 47 DCHECK(RuntimeEnabledFeatures::xsltEnabled());
48 return new XSLTProcessor(document); 48 return new XSLTProcessor(document);
49 } 49 }
50 ~XSLTProcessor(); 50 ~XSLTProcessor();
51 51
52 void setXSLStyleSheet(XSLStyleSheet* styleSheet) { m_stylesheet = styleSheet ; } 52 void setXSLStyleSheet(XSLStyleSheet* styleSheet) { m_stylesheet = styleSheet ; }
53 bool transformToString(Node* source, String& resultMIMEType, String& resultS tring, String& resultEncoding); 53 bool transformToString(Node* source, String& resultMIMEType, String& resultS tring, String& resultEncoding);
54 Document* createDocumentFromSource(const String& source, const String& sourc eEncoding, const String& sourceMIMEType, Node* sourceNode, LocalFrame*); 54 Document* createDocumentFromSource(const String& source, const String& sourc eEncoding, const String& sourceMIMEType, Node* sourceNode, LocalFrame*);
55 55
56 // DOM methods 56 // DOM methods
57 void importStylesheet(Node* style) 57 void importStylesheet(Node* style)
(...skipping 27 matching lines...) Expand all
85 85
86 Member<XSLStyleSheet> m_stylesheet; 86 Member<XSLStyleSheet> m_stylesheet;
87 Member<Node> m_stylesheetRootNode; 87 Member<Node> m_stylesheetRootNode;
88 Member<Document> m_document; 88 Member<Document> m_document;
89 ParameterMap m_parameters; 89 ParameterMap m_parameters;
90 }; 90 };
91 91
92 } // namespace blink 92 } // namespace blink
93 93
94 #endif // XSLTProcessor_h 94 #endif // XSLTProcessor_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLTExtensions.cpp ('k') | third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698