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

Unified Diff: chrome/browser/ui/extensions/icon_with_badge_image_source.cc

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/extensions/icon_with_badge_image_source.cc
diff --git a/chrome/browser/ui/extensions/icon_with_badge_image_source.cc b/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
index a23c62f5908b2d23799a256e02329d6bd271ce28..ad48eae605a71d5d67f9eca281c57443b6135f62 100644
--- a/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
+++ b/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
@@ -123,7 +123,7 @@ void IconWithBadgeImageSource::SetIcon(const gfx::Image& icon) {
icon_ = icon;
}
-void IconWithBadgeImageSource::SetBadge(scoped_ptr<Badge> badge) {
+void IconWithBadgeImageSource::SetBadge(std::unique_ptr<Badge> badge) {
badge_ = std::move(badge);
}
« no previous file with comments | « chrome/browser/ui/extensions/icon_with_badge_image_source.h ('k') | chrome/browser/ui/fast_unload_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698