| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |