summaryrefslogtreecommitdiffstats
path: root/dom/xul/XULDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/XULDocument.cpp')
-rw-r--r--dom/xul/XULDocument.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/xul/XULDocument.cpp b/dom/xul/XULDocument.cpp
index d3b94920a..c5ec9a208 100644
--- a/dom/xul/XULDocument.cpp
+++ b/dom/xul/XULDocument.cpp
@@ -3325,10 +3325,10 @@ XULDocument::OnStreamComplete(nsIStreamLoader* aLoader,
!mOffThreadCompileStringBuf),
"XULDocument can't load multiple scripts at once");
- rv = nsScriptLoader::ConvertToUTF16(channel, string, stringLen,
- EmptyString(), this,
- mOffThreadCompileStringBuf,
- mOffThreadCompileStringLength);
+ rv = ScriptLoader::ConvertToUTF16(channel, string, stringLen,
+ EmptyString(), this,
+ mOffThreadCompileStringBuf,
+ mOffThreadCompileStringLength);
if (NS_SUCCEEDED(rv)) {
// Attempt to give ownership of the buffer to the JS engine. If
// we hit offthread compilation, however, we will have to take it