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

Unified Diff: chrome/browser/ui/android/infobars/app_banner_infobar_android.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/android/infobars/app_banner_infobar_android.cc
diff --git a/chrome/browser/ui/android/infobars/app_banner_infobar_android.cc b/chrome/browser/ui/android/infobars/app_banner_infobar_android.cc
index b43a1efd9917ce7c886d851a7ad2745a67f44722..1b0043b4db77047b0a1e1cb10fed55b21cb058bd 100644
--- a/chrome/browser/ui/android/infobars/app_banner_infobar_android.cc
+++ b/chrome/browser/ui/android/infobars/app_banner_infobar_android.cc
@@ -16,12 +16,12 @@
#include "ui/gfx/image/image.h"
AppBannerInfoBarAndroid::AppBannerInfoBarAndroid(
- scoped_ptr<banners::AppBannerInfoBarDelegateAndroid> delegate,
+ std::unique_ptr<banners::AppBannerInfoBarDelegateAndroid> delegate,
const base::android::ScopedJavaGlobalRef<jobject>& japp_data)
: ConfirmInfoBar(std::move(delegate)), japp_data_(japp_data) {}
AppBannerInfoBarAndroid::AppBannerInfoBarAndroid(
- scoped_ptr<banners::AppBannerInfoBarDelegateAndroid> delegate,
+ std::unique_ptr<banners::AppBannerInfoBarDelegateAndroid> delegate,
const GURL& app_url)
: ConfirmInfoBar(std::move(delegate)), app_url_(app_url) {}

Powered by Google App Engine
This is Rietveld 408576698