diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 02:07:37 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 02:07:37 +0000 |
commit | edce7545f7dbe596df5cb4954b2e40bc44ae5867 (patch) | |
tree | 0763b915383ee0a1876d476db7418c88f17d5448 /mojo/common | |
parent | c53d79b5f356f482b8f44be244929c1e7b47e586 (diff) | |
download | chromium_src-edce7545f7dbe596df5cb4954b2e40bc44ae5867.zip chromium_src-edce7545f7dbe596df5cb4954b2e40bc44ae5867.tar.gz chromium_src-edce7545f7dbe596df5cb4954b2e40bc44ae5867.tar.bz2 |
Implement ServiceManager
BUG=None
R=abarth@chromium.org, abarth
Review URL: https://codereview.chromium.org/93793009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/common')
-rw-r--r-- | mojo/common/handle_watcher.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc index aa637c4..af26b96 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, |