mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
bug 214954, fix embedded XSLT stylesheets from script, r=sicking, sr=peterv
This commit is contained in:
parent
8f07cf446a
commit
397117c707
@ -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…
Reference in New Issue
Block a user