log more draft
authorAndrew McCreight <continuation@gmail.com>
Mon, 23 Oct 2017 11:42:11 -0700
changeset 684919 f38d2a8c3db40cc12ad951f2124568be68772aef
parent 682254 a29052590fc6538b89641e690d11731ca8e78120
child 684920 a4ca01a8abe7605e9534963ec28fa331ef2d59e0
push id85763
push userbmo:continuation@gmail.com
push dateMon, 23 Oct 2017 18:55:09 +0000
milestone58.0a1
log more MozReview-Commit-ID: HcZckAASZb1
xpcom/components/nsComponentManager.cpp
--- a/xpcom/components/nsComponentManager.cpp
+++ b/xpcom/components/nsComponentManager.cpp
@@ -506,19 +506,19 @@ nsComponentManagerImpl::RegisterContract
   nsFactoryEntry* f = mFactories.Get(*aEntry->cid);
   if (!f) {
     NS_WARNING("No CID found when attempting to map contract ID");
 
     char idstr[NSID_LENGTH];
     aEntry->cid->ToProvidedString(idstr);
 
     SafeMutexAutoUnlock unlock(mLock);
-    LogMessage("Could not map contract ID '%s' to CID %s because no implementation of the CID is registered.",
-               aEntry->contractid,
-               idstr);
+    printf("Could not map contract ID '%s' to CID %s because no implementation of the CID is registered.",
+           aEntry->contractid,
+           idstr);
 
     return;
   }
 
   mContractIDs.Put(nsDependentCString(aEntry->contractid), f);
 }
 
 static void