Index: chrome/browser/webdata/autofill_profile_syncable_service.h |
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.h b/chrome/browser/webdata/autofill_profile_syncable_service.h |
index 362f03a60aa41d77f0da0d5b8a835761e39da464..605be58dc441c5faa40510b94b0cd309db5944f4 100644 |
--- a/chrome/browser/webdata/autofill_profile_syncable_service.h |
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.h |
@@ -130,7 +130,7 @@ class AutofillProfileSyncableService |
// For unit-tests. |
AutofillProfileSyncableService(); |
void set_sync_processor(SyncChangeProcessor* sync_processor) { |
- sync_processor_ = sync_processor; |
+ sync_processor_.reset(sync_processor); |
} |
WebDataService* web_data_service_; // WEAK |
@@ -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); |
}; |