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

Unified Diff: chrome/browser/ui/views/frame/web_app_left_header_view_ash_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/frame/web_app_left_header_view_ash_unittest.cc
diff --git a/chrome/browser/ui/views/frame/web_app_left_header_view_ash_unittest.cc b/chrome/browser/ui/views/frame/web_app_left_header_view_ash_unittest.cc
index 29724f552f0cb71b49d763edecc4525148c4cfb0..b3229155ee95d1b63c75650ddd55a84807e87f87 100644
--- a/chrome/browser/ui/views/frame/web_app_left_header_view_ash_unittest.cc
+++ b/chrome/browser/ui/views/frame/web_app_left_header_view_ash_unittest.cc
@@ -40,7 +40,7 @@ class WebAppLeftHeaderViewTest : public TestWithBrowserView {
// Setup a fake toolbar to enable testing.
test_toolbar_model_ = new TestToolbarModel();
- scoped_ptr<ToolbarModel> toolbar_model(test_toolbar_model_);
+ std::unique_ptr<ToolbarModel> toolbar_model(test_toolbar_model_);
browser()->swap_toolbar_models(&toolbar_model);
test_toolbar_model_->set_icon(gfx::VectorIconId::LOCATION_BAR_HTTP);

Powered by Google App Engine
This is Rietveld 408576698