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

Unified Diff: chrome/browser/extensions/api/messaging/incognito_connectability.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/messaging/incognito_connectability.cc
diff --git a/chrome/browser/extensions/api/messaging/incognito_connectability.cc b/chrome/browser/extensions/api/messaging/incognito_connectability.cc
index 7c00d4a0a193bf038a64507fc1be2ac72a9dff85..5fcf6184d794ddf672d8b655932fbe6db8536b4a 100644
--- a/chrome/browser/extensions/api/messaging/incognito_connectability.cc
+++ b/chrome/browser/extensions/api/messaging/incognito_connectability.cc
@@ -67,7 +67,7 @@ InfoBar* IncognitoConnectabilityInfoBarDelegate::Create(
const base::string16& message,
const IncognitoConnectabilityInfoBarDelegate::InfoBarCallback& callback) {
return infobar_manager->AddInfoBar(infobar_manager->CreateConfirmInfoBar(
- scoped_ptr<ConfirmInfoBarDelegate>(
+ std::unique_ptr<ConfirmInfoBarDelegate>(
new IncognitoConnectabilityInfoBarDelegate(message, callback))));
}

Powered by Google App Engine
This is Rietveld 408576698