From 1d842a82b4c7920c912bce422691ac569cb2476b Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Wed, 22 Nov 2006 18:01:37 +0000 Subject: [PATCH] Fix use of the wrong variable that causes the same argument to be passed twice to NSGetModule. b=316416 r=bsmedberg --- js/src/xpconnect/loader/mozJSComponentLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/xpconnect/loader/mozJSComponentLoader.cpp b/js/src/xpconnect/loader/mozJSComponentLoader.cpp index 119d067b16ee..181e51d26b5a 100644 --- a/js/src/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/src/xpconnect/loader/mozJSComponentLoader.cpp @@ -557,7 +557,7 @@ mozJSComponentLoader::LoadModule(nsILocalFile* aComponentFile, return rv; } - rv = cm_holder->GetJSObject(&file_jsobj); + rv = file_holder->GetJSObject(&file_jsobj); if (NS_FAILED(rv)) { return rv; }