summaryrefslogtreecommitdiffstats
path: root/sync/api
diff options
context:
space:
mode:
authorDaniel Cheng <dcheng@chromium.org>2014-08-25 17:25:37 -0700
committerDaniel Cheng <dcheng@chromium.org>2014-08-26 00:30:26 +0000
commit12c173d02d9306bdd180a4535d55aabf581b4c33 (patch)
treedb1e13247b7b7f47fe654f8a8cb57abcf105ce22 /sync/api
parent7927079955d2767e1fa812fe58432fcb9d6250aa (diff)
downloadchromium_src-12c173d02d9306bdd180a4535d55aabf581b4c33.zip
chromium_src-12c173d02d9306bdd180a4535d55aabf581b4c33.tar.gz
chromium_src-12c173d02d9306bdd180a4535d55aabf581b4c33.tar.bz2
Remove implicit conversions from scoped_refptr to T* in sync/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 R=rlarocque@chromium.org Review URL: https://codereview.chromium.org/503903002 Cr-Commit-Position: refs/heads/master@{#291804}
Diffstat (limited to 'sync/api')
-rw-r--r--sync/api/attachments/attachment.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/api/attachments/attachment.cc b/sync/api/attachments/attachment.cc
index b5cfe5d..3a4dfc3 100644
--- a/sync/api/attachments/attachment.cc
+++ b/sync/api/attachments/attachment.cc
@@ -32,7 +32,7 @@ const scoped_refptr<base::RefCountedMemory>& Attachment::GetData() const {
Attachment::Attachment(const AttachmentId& id,
const scoped_refptr<base::RefCountedMemory>& data)
: id_(id), data_(data) {
- DCHECK(data);
+ DCHECK(data.get());
}
} // namespace syncer