Bug 857834 - Remove a warning in the startupcache. r=mwu
authorJustin Lebar <justin.lebar@gmail.com>
Mon, 08 Apr 2013 20:31:44 -0400
changeset 134858 b85fe1022f984cf306bb59f1319c246d7cd01735
parent 134857 d901d33dd142879073825f4eb33c4457d36f2495
child 134859 f49cb7d4b7363c20bcd69eeea05aa156c5c15a1f
push idunknown
push userunknown
push dateunknown
reviewersmwu
bugs857834
milestone23.0a1
Bug 857834 - Remove a warning in the startupcache. r=mwu
startupcache/StartupCache.cpp
--- a/startupcache/StartupCache.cpp
+++ b/startupcache/StartupCache.cpp
@@ -85,17 +85,16 @@ NS_MEMORY_REPORTER_IMPLEMENT(StartupCach
 static const char sStartupCacheName[] = "startupCache." SC_WORDSIZE "." SC_ENDIAN;
 static NS_DEFINE_CID(kZipReaderCID, NS_ZIPREADER_CID);
 
 StartupCache*
 StartupCache::GetSingleton() 
 {
   if (!gStartupCache) {
     if (XRE_GetProcessType() != GeckoProcessType_Default) {
-      NS_WARNING("Startup cache is only available in the chrome process");
       return nullptr;
     }
 
     StartupCache::InitSingleton();
   }
 
   return StartupCache::gStartupCache;
 }