Bug 1163397 - Convert PaintedLayerData::mLog to an nsCString in order to make it possible to safely store PaintedLayerData inside nsTArrays; r=roc
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 10 May 2015 10:18:52 -0400
changeset 243545 c6a3db6682e069ea30dc496e2ef39be03768c73f
parent 243544 e861531c04fa39a72ac16687578f0371bdcc11e7
child 243546 ed36c68799441edb22044213af40e406d8d1f131
push id28741
push userkwierso@gmail.com
push dateTue, 12 May 2015 23:24:40 +0000
treeherdermozilla-central@d476776d920d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1163397
milestone40.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 1163397 - Convert PaintedLayerData::mLog to an nsCString in order to make it possible to safely store PaintedLayerData inside nsTArrays; r=roc
layout/base/FrameLayerBuilder.cpp
--- a/layout/base/FrameLayerBuilder.cpp
+++ b/layout/base/FrameLayerBuilder.cpp
@@ -302,17 +302,17 @@ public:
     mCommonClipCount(-1),
     mNewChildLayersIndex(-1)
   {}
 
 #ifdef MOZ_DUMP_PAINTING
   /**
    * Keep track of important decisions for debugging.
    */
-  nsAutoCString mLog;
+  nsCString mLog;
 
   #define FLB_LOG_PAINTED_LAYER_DECISION(pld, ...) \
           if (gfxPrefs::LayersDumpDecision()) { \
             pld->mLog.AppendPrintf("\t\t\t\t"); \
             pld->mLog.AppendPrintf(__VA_ARGS__); \
           }
 #else
   #define FLB_LOG_PAINTED_LAYER_DECISION(...)