Index: mojo/common/handle_watcher.cc |
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc |
index af26b96cb6467b349ce23272b8dad9416c7c6b3d..2e8f0839ade5cfd760cb4d5bc61ceed136f764d0 100644 |
--- a/mojo/common/handle_watcher.cc |
+++ b/mojo/common/handle_watcher.cc |
@@ -197,7 +197,8 @@ WatcherID WatcherThreadManager::StartWatching( |
data.wait_flags = wait_flags; |
data.deadline = deadline; |
data.message_loop = base::MessageLoopProxy::current(); |
- DCHECK_NE(static_cast<base::MessageLoopProxy*>(NULL), data.message_loop); |
+ DCHECK_NE(static_cast<base::MessageLoopProxy*>(NULL), |
+ data.message_loop.get()); |
// We outlive |thread_|, so it's safe to use Unretained() here. |
thread_.message_loop()->PostTask( |
FROM_HERE, |