| Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| index 02242916c101c8854367de08e6b00d0a84b917d2..c8aa931b6a174d5e688156ef4dc0fa70ed6a1b0e 100644
|
| --- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| @@ -427,7 +427,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeAdd) {
|
|
|
| history::URLsModifiedDetails details;
|
| details.changed_urls.push_back(added_entry);
|
| - scoped_refptr<ThreadNotifier> notifier = new ThreadNotifier(&history_thread_);
|
| + scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| notifier->Notify(NotificationType::HISTORY_TYPED_URLS_MODIFIED,
|
| Details<history::URLsModifiedDetails>(&details));
|
|
|
| @@ -460,7 +460,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeUpdate) {
|
|
|
| history::URLsModifiedDetails details;
|
| details.changed_urls.push_back(updated_entry);
|
| - scoped_refptr<ThreadNotifier> notifier = new ThreadNotifier(&history_thread_);
|
| + scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| notifier->Notify(NotificationType::HISTORY_TYPED_URLS_MODIFIED,
|
| Details<history::URLsModifiedDetails>(&details));
|
|
|
| @@ -495,7 +495,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemove) {
|
| history::URLsDeletedDetails changes;
|
| changes.all_history = false;
|
| changes.urls.insert(GURL("http://mine.com"));
|
| - scoped_refptr<ThreadNotifier> notifier = new ThreadNotifier(&history_thread_);
|
| + scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| notifier->Notify(NotificationType::HISTORY_URLS_DELETED,
|
| Details<history::URLsDeletedDetails>(&changes));
|
|
|
| @@ -529,7 +529,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemoveAll) {
|
|
|
| history::URLsDeletedDetails changes;
|
| changes.all_history = true;
|
| - scoped_refptr<ThreadNotifier> notifier = new ThreadNotifier(&history_thread_);
|
| + scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| notifier->Notify(NotificationType::HISTORY_URLS_DELETED,
|
| Details<history::URLsDeletedDetails>(&changes));
|
|
|
|
|