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

Unified Diff: chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 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/extensions/api/autofill_private/autofill_private_event_router.cc
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
index 17d0d6a27c31e6dcac5577dec3fde56b0ad783a4..5162c97f582b7c0311669283e7acd1a70ce2aadd 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_event_router.cc
@@ -76,10 +76,10 @@ void AutofillPrivateEventRouter::OnPersonalDataChanged() {
autofill_util::AddressEntryList addressList =
extensions::autofill_util::GenerateAddressList(*personal_data_);
- scoped_ptr<base::ListValue> args(
+ std::unique_ptr<base::ListValue> args(
api::autofill_private::OnAddressListChanged::Create(addressList)
.release());
- scoped_ptr<Event> extension_event(
+ std::unique_ptr<Event> extension_event(
new Event(events::AUTOFILL_PRIVATE_ON_ADDRESS_LIST_CHANGED,
api::autofill_private::OnAddressListChanged::kEventName,
std::move(args)));

Powered by Google App Engine
This is Rietveld 408576698