Bug 794206 - Initialize mRuntime. r=ehsan
authorBenoit Girard <b56girard@gmail.com>
Mon, 01 Oct 2012 12:51:03 -0400
changeset 115064 85f3e07f71cee5d291ba130399c1a7cb7740213a
parent 115063 99a0dca913ab21f08b4eb76dac54119432dd8501
child 115065 dc17abff955a4ac9647996c85b0c57b2b13ac413
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-beta@27b14fe50103 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs794206
milestone18.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 794206 - Initialize mRuntime. r=ehsan
tools/profiler/sps_sampler.h
--- a/tools/profiler/sps_sampler.h
+++ b/tools/profiler/sps_sampler.h
@@ -257,16 +257,17 @@ public:
 // handlers, so the mutation of them needs to be signal-safe.
 struct ProfileStack
 {
 public:
   ProfileStack()
     : mStackPointer(0)
     , mMarkerPointer(0)
     , mQueueClearMarker(false)
+    , mRuntime(NULL)
     , mStartJSSampling(false)
   { }
 
   void addMarker(const char *aMarker)
   {
     if (mQueueClearMarker) {
       clearMarkers();
     }