diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-05 14:08:31 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-11 07:46:53 +0000 |
commit | 6a4cabb866f66d4128a97cdc6d9d08ce074f1247 (patch) | |
tree | ab00f70a5e89278d6a0d16ff0c42578dc4d84a2d /chromium/base/threading/thread.cc | |
parent | e733310db58160074f574c429d48f8308c0afe17 (diff) |
BASELINE: Update Chromium to 57.0.2987.144
Change-Id: I29db402ff696c71a04c4dbaec822c2e53efe0267
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium/base/threading/thread.cc')
-rw-r--r-- | chromium/base/threading/thread.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chromium/base/threading/thread.cc b/chromium/base/threading/thread.cc index 90b44f8e19a..ec2f98dd4b3 100644 --- a/chromium/base/threading/thread.cc +++ b/chromium/base/threading/thread.cc @@ -261,12 +261,7 @@ bool Thread::GetThreadWasQuitProperly() { void Thread::SetMessageLoop(MessageLoop* message_loop) { DCHECK(owning_sequence_checker_.CalledOnValidSequence()); - - // TODO(gab): Figure out why some callers pass in a null |message_loop|... - // https://crbug.com/629139#c15 - // DCHECK(message_loop); - if (!message_loop) - return; + DCHECK(message_loop); // Setting |message_loop_| should suffice for this thread to be considered // as "running", until Stop() is invoked. |