Bug 764616: Fix constructor out-of-order constructor init-list in Gecko profiler, to silence build warning. r=benwa

This commit is contained in:
Daniel Holbert 2012-06-13 16:24:48 -07:00
parent 31e03456af
commit 103f5a15ee
3 changed files with 5 additions and 5 deletions

View File

@ -182,8 +182,8 @@ static void* SenderEntry(void* arg) {
Sampler::Sampler(int interval, bool profiling) Sampler::Sampler(int interval, bool profiling)
: interval_(interval), : interval_(interval),
profiling_(profiling), profiling_(profiling),
active_(false), paused_(false),
paused_(false) { active_(false) {
data_ = new PlatformData(this); data_ = new PlatformData(this);
} }

View File

@ -296,8 +296,8 @@ Sampler::Sampler(int interval, bool profiling)
: // isolate_(isolate), : // isolate_(isolate),
interval_(interval), interval_(interval),
profiling_(profiling), profiling_(profiling),
active_(false), paused_(false),
paused_(false) /*, active_(false) /*,
samples_taken_(0)*/ { samples_taken_(0)*/ {
data_ = new PlatformData; data_ = new PlatformData;
} }

View File

@ -121,8 +121,8 @@ SamplerThread* SamplerThread::instance_ = NULL;
Sampler::Sampler(int interval, bool profiling) Sampler::Sampler(int interval, bool profiling)
: interval_(interval), : interval_(interval),
profiling_(profiling), profiling_(profiling),
active_(false),
paused_(false), paused_(false),
active_(false),
data_(new PlatformData) { data_(new PlatformData) {
} }