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

Unified Diff: mojo/common/handle_watcher.cc

Issue 93793009: Implement ServiceManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow Android to be built 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
« no previous file with comments | « build/android/adb_run_mojo_shell ('k') | mojo/examples/sample_app/native_viewport_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/handle_watcher.cc
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc
index aa637c40780c8527a1e48d625493f99a2e53cbad..af26b96cb6467b349ce23272b8dad9416c7c6b3d 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_NE(static_cast<base::MessageLoopProxy*>(NULL), data.message_loop);
// We outlive |thread_|, so it's safe to use Unretained() here.
thread_.message_loop()->PostTask(
FROM_HERE,
« no previous file with comments | « build/android/adb_run_mojo_shell ('k') | mojo/examples/sample_app/native_viewport_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698