summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 21:46:29 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 21:46:29 +0000
commit011a42e3da47760d035684b4d50fa85f49e27948 (patch)
treeed6d48c193458e00031d5e8b3e6121702a6f35fa /base/message_loop.cc
parent8a4192bcc47e1dae8cf22fb98a4d5534dd155b88 (diff)
downloadchromium_src-011a42e3da47760d035684b4d50fa85f49e27948.zip
chromium_src-011a42e3da47760d035684b4d50fa85f49e27948.tar.gz
chromium_src-011a42e3da47760d035684b4d50fa85f49e27948.tar.bz2
ThreadLocalStorage::Set should take care of validating its inputs. No need to
do that in the MessageLoop constructor. TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1058 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index c82c3ee..4964dfe 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -83,7 +83,6 @@ MessageLoop::MessageLoop()
nestable_tasks_allowed_(true),
exception_restoration_(false),
state_(NULL) {
- DCHECK(tls_index_) << "static initializer failed";
DCHECK(!current()) << "should only have one message loop per thread";
ThreadLocalStorage::Set(tls_index_, this);
// TODO(darin): Generalize this to support instantiating different pumps.