summaryrefslogtreecommitdiffstats
path: root/base/memory
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-27 10:36:11 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-27 10:36:11 +0000
commit198b590bb15422d06a14f59700c72f2fa71b1314 (patch)
treedf70ac39d5a72ee95a89b8dfc2aa679dcb254f30 /base/memory
parent4fbcb6bf01014e8508e7e2258055ed1750bd5aa0 (diff)
downloadchromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.zip
chromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.tar.gz
chromium_src-198b590bb15422d06a14f59700c72f2fa71b1314.tar.bz2
Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*"
Fixes a number of cases either not caught by the automated tool or that have recently regressed. BUG=206189 TBR=darin Review URL: https://chromiumcodereview.appspot.com/17948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/memory')
-rw-r--r--base/memory/ref_counted_delete_on_message_loop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/memory/ref_counted_delete_on_message_loop.h b/base/memory/ref_counted_delete_on_message_loop.h
index 4527f16..7b898ac 100644
--- a/base/memory/ref_counted_delete_on_message_loop.h
+++ b/base/memory/ref_counted_delete_on_message_loop.h
@@ -35,7 +35,7 @@ class RefCountedDeleteOnMessageLoop : public subtle::RefCountedThreadSafeBase {
public:
RefCountedDeleteOnMessageLoop(
const scoped_refptr<MessageLoopProxy>& proxy) : proxy_(proxy) {
- DCHECK(proxy_);
+ DCHECK(proxy_.get());
}
void AddRef() const {