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

Side by Side Diff: third_party/WebKit/Source/core/xml/XSLTExtensions.cpp

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 * Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. 2 * Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
3 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
4 * 4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy 5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal 6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights 7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 * copies of the Software, and to permit persons to whom the Software is fur- 9 * copies of the Software, and to permit persons to whom the Software is fur-
10 * nished to do so, subject to the following conditions: 10 * nished to do so, subject to the following conditions:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ret->type = XPATH_NODESET; 63 ret->type = XPATH_NODESET;
64 64
65 if (strval) 65 if (strval)
66 xmlFree(strval); 66 xmlFree(strval);
67 67
68 valuePush(ctxt, ret); 68 valuePush(ctxt, ret);
69 } 69 }
70 70
71 void registerXSLTExtensions(xsltTransformContextPtr ctxt) 71 void registerXSLTExtensions(xsltTransformContextPtr ctxt)
72 { 72 {
73 ASSERT(RuntimeEnabledFeatures::xsltEnabled()); 73 DCHECK(RuntimeEnabledFeatures::xsltEnabled());
74 xsltRegisterExtFunction(ctxt, (const xmlChar*)"node-set", (const xmlChar*)"h ttp://exslt.org/common", exsltNodeSetFunction); 74 xsltRegisterExtFunction(ctxt, (const xmlChar*)"node-set", (const xmlChar*)"h ttp://exslt.org/common", exsltNodeSetFunction);
75 } 75 }
76 76
77 } // namespace blink 77 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp ('k') | third_party/WebKit/Source/core/xml/XSLTProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698