Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: mojo/common/handle_watcher.cc

Issue 93793009: Implement ServiceManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « no previous file | mojo/examples/sample_app/native_viewport_client_impl.h » ('j') | mojo/examples/sample_app/sample_app.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698