summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index bdf99f0..2b7d274 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -31,6 +31,7 @@
#include <algorithm>
+#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_pump_default.h"
#include "base/string_util.h"
@@ -80,7 +81,7 @@ static LPTOP_LEVEL_EXCEPTION_FILTER GetTopSEHFilter() {
//------------------------------------------------------------------------------
MessageLoop::MessageLoop()
- : timer_manager_(this),
+ : ALLOW_THIS_IN_INITIALIZER_LIST(timer_manager_(this)),
nestable_tasks_allowed_(true),
exception_restoration_(false),
state_(NULL) {