| Index: base/threading/thread.cc
|
| diff --git a/base/threading/thread.cc b/base/threading/thread.cc
|
| index 90b44f8e19a3263dc16769e373563193b095c467..ec2f98dd4b3484176ff4799369c1544cc1521b74 100644
|
| --- a/base/threading/thread.cc
|
| +++ b/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.
|
|
|