Bug 1019063 - Check for ::CreateDCW failing when printing (tweak removing logging). r=dvander a=rkent THUNDERBIRD_38_VERBRANCH
authorR Kent James <rkent@caspia.com>
Fri, 29 Apr 2016 16:54:37 -0700
branchTHUNDERBIRD_38_VERBRANCH
changeset 261031 81ba3d3afe08034a086f0fd9636d32cb44c3747f
parent 261030 8cc8fa60f0f6c3fc8cdb31af8575e53069c90fe5
child 261032 78e117e69589ecdc31ae39a8d72c5ac1e2b4afcf
push id322
push userkent@caspia.com
push dateFri, 29 Apr 2016 23:55:33 +0000
treeherdermozilla-esr38@81ba3d3afe08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander, rkent
bugs1019063
milestone38.8.0esrpre
Bug 1019063 - Check for ::CreateDCW failing when printing (tweak removing logging). r=dvander a=rkent
gfx/thebes/gfxFontInfoLoader.cpp
--- a/gfx/thebes/gfxFontInfoLoader.cpp
+++ b/gfx/thebes/gfxFontInfoLoader.cpp
@@ -7,22 +7,16 @@
 #include "nsCRT.h"
 #include "nsIObserverService.h"
 #include "nsThreadUtils.h"              // for nsRunnable
 #include "gfxPlatformFontList.h"
 
 using namespace mozilla;
 using services::GetObserverService;
 
-#define LOG_FONTINIT(args) MOZ_LOG(gfxPlatform::GetLog(eGfxLog_fontinit), \
-                               LogLevel::Debug, args)
-#define LOG_FONTINIT_ENABLED() MOZ_LOG_TEST( \
-                                   gfxPlatform::GetLog(eGfxLog_fontinit), \
-                                   LogLevel::Debug)
-
 void
 FontInfoData::Load()
 {
     TimeStamp start = TimeStamp::Now();
 
     uint32_t i, n = mFontFamiliesToLoad.Length();
     mLoadStats.families = n;
     for (i = 0; i < n; i++) {
@@ -171,21 +165,16 @@ gfxFontInfoLoader::StartLoader(uint32_t 
     if (NS_FAILED(rv)) {
         return;
     }
 
     nsCOMPtr<nsIRunnable> loadEvent = new AsyncFontInfoLoader(mFontInfo);
 
     mFontLoaderThread->Dispatch(loadEvent, NS_DISPATCH_NORMAL);
 
-    if (LOG_FONTINIT_ENABLED()) {
-        LOG_FONTINIT(("(fontinit) fontloader started (fontinfo: %p)\n",
-                      mFontInfo.get()));
-    }
-
 }
 
 void
 gfxFontInfoLoader::FinalizeLoader(FontInfoData *aFontInfo)
 {
     // avoid loading data if loader has already been canceled
     if (mState != stateAsyncLoad || mFontInfo != aFontInfo) {
         return;