Index: chrome/browser/sync/glue/autofill_profile_syncable_service.h |
diff --git a/chrome/browser/sync/glue/autofill_profile_syncable_service.h b/chrome/browser/sync/glue/autofill_profile_syncable_service.h |
index 5877ba961c46e78920df68bd48138c87b93a77aa..64bd0ad6ce7fa053140d323dc5aa6d2d88ecb4b1 100644 |
--- a/chrome/browser/sync/glue/autofill_profile_syncable_service.h |
+++ b/chrome/browser/sync/glue/autofill_profile_syncable_service.h |
@@ -129,7 +129,7 @@ class AutofillProfileSyncableService |
// For unit-tests. |
AutofillProfileSyncableService(); |
void set_sync_processor(SyncChangeProcessor* sync_processor) { |
- sync_processor_ = sync_processor; |
+ sync_processor_.reset(sync_processor); |
} |
WebDatabase* web_database_; |
@@ -141,7 +141,7 @@ class AutofillProfileSyncableService |
ScopedVector<AutofillProfile> profiles_; |
GUIDToProfileMap profiles_map_; |
- SyncChangeProcessor* sync_processor_; |
+ scoped_ptr<SyncChangeProcessor> sync_processor_; |
DISALLOW_COPY_AND_ASSIGN(AutofillProfileSyncableService); |
}; |