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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/media_file_system_registry.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry.cc b/chrome/browser/media_galleries/media_file_system_registry.cc
index 88c3752ae5d316cc9e23e7577ac965b23e2babde..ab5e42ec340932fdf990f20d97be8727c416f95a 100644
--- a/chrome/browser/media_galleries/media_file_system_registry.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry.cc
@@ -701,7 +701,7 @@ MediaFileSystemRegistry::GetOrCreateScopedMTPDeviceMapEntry(
base::Unretained(this),
device_location));
mtp_device_host->Init();
- mtp_device_delegate_map_[device_location] = mtp_device_host;
+ mtp_device_delegate_map_[device_location] = mtp_device_host.get();
return mtp_device_host;
}

Powered by Google App Engine
This is Rietveld 408576698