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

Unified Diff: third_party/libxslt/libexslt/common.c

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 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 | « third_party/libxslt/libexslt/Makefile.am ('k') | third_party/libxslt/libexslt/crypto.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxslt/libexslt/common.c
diff --git a/third_party/libxslt/libexslt/common.c b/third_party/libxslt/libexslt/common.c
index 77f352e5ab57a0c5a3a809be04a3edd1bec6af9f..451a60d80af76a3dab7b49439603f3c00c0d045e 100644
--- a/third_party/libxslt/libexslt/common.c
+++ b/third_party/libxslt/libexslt/common.c
@@ -46,16 +46,16 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) {
if (fragment == NULL) {
xsltTransformError(tctxt, NULL, tctxt->inst,
"exsltNodeSetFunction: Failed to create a tree fragment.\n");
- tctxt->state = XSLT_STATE_STOPPED;
+ tctxt->state = XSLT_STATE_STOPPED;
return;
}
xsltRegisterLocalRVT(tctxt, fragment);
strval = xmlXPathPopString (ctxt);
-
+
txt = xmlNewDocText (fragment, strval);
xmlAddChild((xmlNodePtr) fragment, txt);
- obj = xmlXPathNewNodeSet(txt);
+ obj = xmlXPathNewNodeSet(txt);
if (obj == NULL) {
xsltTransformError(tctxt, NULL, tctxt->inst,
"exsltNodeSetFunction: Failed to create a node set object.\n");
@@ -69,7 +69,7 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) {
}
if (strval != NULL)
xmlFree (strval);
-
+
valuePush (ctxt, obj);
}
}
« no previous file with comments | « third_party/libxslt/libexslt/Makefile.am ('k') | third_party/libxslt/libexslt/crypto.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698