summaryrefslogtreecommitdiffstats
path: root/mojo/common
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-09 00:49:19 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-09 00:49:19 +0000
commita958382be2dbbdd153b01473c4f2498cb9beac28 (patch)
tree11b50d07380beaa5bd26cb0495755395bfc804f9 /mojo/common
parent23dad533ff5a6f1ebcbccd15d364a52a433a6e6d (diff)
downloadchromium_src-a958382be2dbbdd153b01473c4f2498cb9beac28.zip
chromium_src-a958382be2dbbdd153b01473c4f2498cb9beac28.tar.gz
chromium_src-a958382be2dbbdd153b01473c4f2498cb9beac28.tar.bz2
Mojo: Remove implicit scoped_refptr<T> -> T* conversions in mojo/.
R=yzshen@chromium.org Review URL: https://codereview.chromium.org/190973008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/common')
-rw-r--r--mojo/common/handle_watcher.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mojo/common/handle_watcher.cc b/mojo/common/handle_watcher.cc
index af26b96..2e8f083 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,