Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE
authorBas Schouten <bschouten@mozilla.com>
Thu, 18 Sep 2014 01:40:13 +0200
changeset 230457 30d4130c504fd9abc9ac1ad4badda2ea2a734d6a
parent 230456 a3adee0a1c5f2c612a007f21e6b8cc2019f76ebc
child 230458 3dad11e6dcdd3902bd761aeae6e59203746ebae5
push id611
push userraliiev@mozilla.com
push dateMon, 05 Jan 2015 23:23:16 +0000
treeherdermozilla-release@345cd3b9c445 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1068613
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -149,21 +149,21 @@ public:
 
 class CrashStatsLogForwarder: public mozilla::gfx::LogForwarder
 {
 public:
     virtual void Log(const std::string& aString) MOZ_OVERRIDE {
         if (!NS_IsMainThread()) {
             return;
         }
+#ifdef MOZ_CRASHREPORTER
         nsCString reportString(aString.c_str());
-#ifdef MOZ_CRASHREPORTER
         CrashReporter::AppendAppNotesToCrashReport(reportString);
 #else
-        printf("GFX ERROR: %s", reportString);
+        printf("GFX ERROR: %s", aString.c_str());
 #endif
     }
 };
 
 NS_IMPL_ISUPPORTS(SRGBOverrideObserver, nsIObserver, nsISupportsWeakReference)
 
 #define GFX_DOWNLOADABLE_FONTS_ENABLED "gfx.downloadable_fonts.enabled"