summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 22:26:06 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 22:26:06 +0000
commitf1ea2fa47af56a08b964a5ad0512156bfcbfda11 (patch)
tree1626a8a9dfb5de1b6ec86cb2552096d2ee2f1b75 /base/message_loop.cc
parenta2221350d2f9240099d88930d24c19b7745d3154 (diff)
downloadchromium_src-f1ea2fa47af56a08b964a5ad0512156bfcbfda11.zip
chromium_src-f1ea2fa47af56a08b964a5ad0512156bfcbfda11.tar.gz
chromium_src-f1ea2fa47af56a08b964a5ad0512156bfcbfda11.tar.bz2
Fix the final gcc warnings in base and net. Provide some macros to selectively disable MSVC warnings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1194 0039d316-1c4b-4281-b951-d872f2087c98
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) {