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

Unified Diff: chrome/browser/sync/profile_sync_service_preference_unittest.cc

Issue 8275018: Reland r105404 with compile warning fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/profile_sync_service_preference_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_preference_unittest.cc b/chrome/browser/sync/profile_sync_service_preference_unittest.cc
index 1c5b08e1f2a6e3b80ff1c2912079bcb6eb92ecb1..4299d6345e725f5a6cda97b6e604ca0c11c2d396 100644
--- a/chrome/browser/sync/profile_sync_service_preference_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_preference_unittest.cc
@@ -50,9 +50,10 @@ typedef std::map<const std::string, const Value*> PreferenceValues;
ACTION_P4(BuildPrefSyncComponents, profile_sync_service, pref_sync_service,
model_associator_ptr, change_processor_ptr) {
sync_api::UserShare* user_share = profile_sync_service->GetUserShare();
- *change_processor_ptr = new GenericChangeProcessor(pref_sync_service,
- profile_sync_service,
- user_share);
+ *change_processor_ptr = new GenericChangeProcessor(
+ profile_sync_service,
+ pref_sync_service->AsWeakPtr(),
+ user_share);
*model_associator_ptr = new browser_sync::SyncableServiceAdapter(
syncable::PREFERENCES,
pref_sync_service,
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/webdata/autofill_profile_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698