Chromium Code Reviews| Index: mojo/common/handle_watcher.cc |
| diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc |
| index aa637c40780c8527a1e48d625493f99a2e53cbad..2efa66a2261d96825624b58b187431f2cf1f1fbf 100644 |
| --- a/mojo/common/handle_watcher.cc |
| +++ b/mojo/common/handle_watcher.cc |
| @@ -197,6 +197,7 @@ WatcherID WatcherThreadManager::StartWatching( |
| data.wait_flags = wait_flags; |
| data.deadline = deadline; |
| data.message_loop = base::MessageLoopProxy::current(); |
| + DCHECK(data.message_loop != NULL); |
|
abarth-chromium
2013/12/10 01:06:03
DCHECK_NE?
DaveMoore
2013/12/10 03:00:45
Done.
|
| // We outlive |thread_|, so it's safe to use Unretained() here. |
| thread_.message_loop()->PostTask( |
| FROM_HERE, |