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

Unified Diff: chrome/browser/media_galleries/linux/mtp_device_task_helper.cc

Issue 505283002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/media_galleries/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months 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
Index: chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
diff --git a/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc b/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
index b2e27e41716f3f3b295c5b8a4cb4c41ce5866781..e12524e9169a73449c7035bf93691815d0d1b8ad 100644
--- a/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
+++ b/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
@@ -209,7 +209,7 @@ void MTPDeviceTaskHelper::OnGetFileInfoToReadBytes(
const MtpFileEntry& file_entry,
bool error) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- DCHECK(request.buf);
+ DCHECK(request.buf.get());
DCHECK_GE(request.buf_len, 0);
DCHECK_GE(request.offset, 0);
if (error) {

Powered by Google App Engine
This is Rietveld 408576698