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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.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/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
index fa13f07087426cd3b6935e8c457ee213128dfb10..2ae1cebf8452b95abb656a93dd7c6e1d5c64eea3 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
@@ -55,7 +55,8 @@ TestToolbarActionsBarBubbleDelegate::~TestToolbarActionsBarBubbleDelegate() {
CHECK(close_action_);
}
-scoped_ptr<ToolbarActionsBarBubbleDelegate>
+std::unique_ptr<ToolbarActionsBarBubbleDelegate>
TestToolbarActionsBarBubbleDelegate::GetDelegate() {
- return scoped_ptr<ToolbarActionsBarBubbleDelegate>(new DelegateImpl(this));
+ return std::unique_ptr<ToolbarActionsBarBubbleDelegate>(
+ new DelegateImpl(this));
}
« no previous file with comments | « chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h ('k') | chrome/browser/ui/toolbar/toolbar_actions_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698