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

Unified Diff: chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/ui/cocoa/passwords/account_avatar_fetcher_manager.mm
diff --git a/chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm b/chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm
index 0ee876c082b7b22f27e6a1eca30e55cf96b5c795..c8332a61d140d55a6982b9f135707846a945f599 100644
--- a/chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm
+++ b/chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.mm
@@ -67,7 +67,7 @@ void AccountAvatarFetcherBridge::UpdateAvatar(const gfx::ImageSkia& image) {
}
- (void)fetchAvatar:(const GURL&)avatarURL forView:(CredentialItemButton*)view {
- scoped_ptr<AccountAvatarFetcherBridge> bridge(
+ std::unique_ptr<AccountAvatarFetcherBridge> bridge(
new AccountAvatarFetcherBridge(self, view));
AccountAvatarFetcher* fetcher =
new AccountAvatarFetcher(avatarURL, bridge->AsWeakPtr());

Powered by Google App Engine
This is Rietveld 408576698