no bug - Fix a misleading indentation
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 19 Feb 2017 14:27:57 +0100
changeset 486812 3e179eea4ffca0aad0f79c19fb9f0e02a82560a9
parent 486811 ee41fa1c5b0e873e1a43d7941fdd83d0fa572708
child 486813 acf9b36c79170b23803d354a7fae1f89033b3e04
push id46066
push userbmo:gasolin@mozilla.com
push dateMon, 20 Feb 2017 01:56:10 +0000
milestone54.0a1
no bug - Fix a misleading indentation MozReview-Commit-ID: 4yvVRRxoxC8
js/xpconnect/loader/mozJSComponentLoader.cpp
--- a/js/xpconnect/loader/mozJSComponentLoader.cpp
+++ b/js/xpconnect/loader/mozJSComponentLoader.cpp
@@ -373,17 +373,17 @@ mozJSComponentLoader::LoadModule(FileLoc
     if (!mInitialized) {
         rv = ReallyInit();
         if (NS_FAILED(rv))
             return nullptr;
     }
 
     ModuleEntry* mod;
     if (mModules.Get(spec, &mod))
-    return mod;
+        return mod;
 
     dom::AutoJSAPI jsapi;
     jsapi.Init();
     JSContext* cx = jsapi.cx();
 
     nsAutoPtr<ModuleEntry> entry(new ModuleEntry(RootingContext::get(cx)));
     RootedValue dummy(cx);
     rv = ObjectForLocation(info, file, &entry->obj, &entry->thisObjectKey,