Bug 660526 Remove useless use of PromiseFlatCString r=sayrer
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 15 Aug 2011 23:56:46 +0100
changeset 75308 f48880d25772c657a4f5781fd87da3c49dfb85af
parent 75307 a8e6a5bebe87cdea15237b872c84440c5b29a788
child 75309 f25e1ff21078385a19068c825c7c9d8949deace9
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewerssayrer
bugs660526
milestone8.0a1
Bug 660526 Remove useless use of PromiseFlatCString r=sayrer
js/src/xpconnect/loader/mozJSComponentLoader.cpp
--- a/js/src/xpconnect/loader/mozJSComponentLoader.cpp
+++ b/js/src/xpconnect/loader/mozJSComponentLoader.cpp
@@ -1354,17 +1354,17 @@ mozJSComponentLoader::ImportInto(const n
             if (i == 0) {
                 logBuffer.AssignLiteral("Installing symbols [ ");
             }
             JSAutoByteString bytes(mContext, JSID_TO_STRING(symbolId));
             if (!!bytes)
                 logBuffer.Append(bytes.ptr());
             logBuffer.AppendLiteral(" ");
             if (i == symbolCount - 1) {
-                LOG(("%s] from %s\n", PromiseFlatCString(logBuffer).get(),
+                LOG(("%s] from %s\n", logBuffer.get(),
                                       PromiseFlatCString(aLocation).get()));
             }
 #endif
         }
     }
 
     // Cache this module for later
     if (newEntry) {