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

Unified Diff: chrome/browser/ui/views/toolbar/browser_actions_container.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/views/toolbar/browser_actions_container.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.cc b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
index 41f3d507e280bdef134d0131c1e1036e0d146ff2..fd235129d4b4d06a242a0623f18acb4d5cc55d8a 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
@@ -306,7 +306,7 @@ int BrowserActionsContainer::GetChevronWidth() const {
}
void BrowserActionsContainer::ShowToolbarActionBubble(
- scoped_ptr<ToolbarActionsBarBubbleDelegate> controller) {
+ std::unique_ptr<ToolbarActionsBarBubbleDelegate> controller) {
// The container shouldn't be asked to show a bubble if it's animating.
DCHECK(!animating());
views::View* anchor_view = nullptr;
@@ -325,7 +325,7 @@ void BrowserActionsContainer::ShowToolbarActionBubble(
}
void BrowserActionsContainer::ShowExtensionMessageBubble(
- scoped_ptr<extensions::ExtensionMessageBubbleController> controller,
+ std::unique_ptr<extensions::ExtensionMessageBubbleController> controller,
ToolbarActionViewController* anchor_action) {
// The container shouldn't be asked to show a bubble if it's animating.
DCHECK(!animating());

Powered by Google App Engine
This is Rietveld 408576698