mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar
This commit is contained in:
parent
beec825b40
commit
ce245d2647
@ -90,6 +90,7 @@ PRInt32 message_loop_id_seq = 0;
|
||||
|
||||
MessageLoop::MessageLoop(Type type)
|
||||
: type_(type),
|
||||
id_(PR_ATOMIC_INCREMENT(&message_loop_id_seq)),
|
||||
nestable_tasks_allowed_(true),
|
||||
exception_restoration_(false),
|
||||
state_(NULL),
|
||||
@ -97,8 +98,7 @@ MessageLoop::MessageLoop(Type type)
|
||||
#ifdef OS_WIN
|
||||
os_modal_loop_(false),
|
||||
#endif // OS_WIN
|
||||
next_sequence_num_(0),
|
||||
id_(PR_ATOMIC_INCREMENT(&message_loop_id_seq)) {
|
||||
next_sequence_num_(0) {
|
||||
DCHECK(!current()) << "should only have one message loop per thread";
|
||||
lazy_tls_ptr.Pointer()->Set(this);
|
||||
if (type_ == TYPE_MOZILLA_UI) {
|
||||
|
Loading…
Reference in New Issue
Block a user