bug 214954, fix embedded XSLT stylesheets from script, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@145630 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fde1443dcc
commit
0b7ee97d78
@ -774,7 +774,7 @@ TX_CompileStylesheet(nsIDOMNode* aNode, txStylesheet** aStylesheet)
|
||||
new txStylesheetCompiler(base, obs);
|
||||
NS_ENSURE_TRUE(compiler, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
nsresult rv = handleNode(document, compiler);
|
||||
nsresult rv = handleNode(aNode, compiler);
|
||||
if (NS_FAILED(rv)) {
|
||||
compiler->cancel(rv);
|
||||
return rv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user