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

Unified Diff: chrome/browser/sync_file_system/local_file_sync_service.cc

Issue 16290004: 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: 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/sync_file_system/local_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/local_file_sync_service.cc b/chrome/browser/sync_file_system/local_file_sync_service.cc
index 1a7bc3ae1aa929c0a73ae2077b3b998432cd980e..c67f1ccce0ad9b34bc5a22a21317d06eaa999625 100644
--- a/chrome/browser/sync_file_system/local_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/local_file_sync_service.cc
@@ -221,10 +221,13 @@ void LocalFileSyncService::PrepareForProcessRemoteChange(
MaybeInitializeFileSystemContext(
url.origin(),
service_name,
- file_system_context,
+ file_system_context.get(),
base::Bind(&LocalFileSyncService::DidInitializeForRemoteSync,
- AsWeakPtr(), url, service_name,
- file_system_context, callback));
+ AsWeakPtr(),
+ url,
+ service_name,
+ file_system_context,
+ callback));
return;
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_metadata_store_unittest.cc ('k') | chrome/browser/task_manager/task_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698