mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 764616: Fix constructor out-of-order constructor init-list in Gecko profiler, to silence build warning. r=benwa
This commit is contained in:
parent
31e03456af
commit
103f5a15ee
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user