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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.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/toolbar_action_view_unittest.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
index 50c8f48bae6f82b110c07b5a7878fdfce9baa438..ad00a9ae64d719980da74c67883082ff5387a735 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
@@ -155,7 +155,7 @@ TEST_F(ToolbarActionViewUnitTest,
TestToolbarActionViewDelegate action_view_delegate;
// Create a new toolbar action view.
- scoped_ptr<ToolbarActionView> view(
+ std::unique_ptr<ToolbarActionView> view(
new ToolbarActionView(&controller, &action_view_delegate));
view->set_owned_by_client();
view->SetBoundsRect(gfx::Rect(0, 0, 200, 20));

Powered by Google App Engine
This is Rietveld 408576698