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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model_list_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/android/tab_model/tab_model_list_unittest.cc
diff --git a/chrome/browser/ui/android/tab_model/tab_model_list_unittest.cc b/chrome/browser/ui/android/tab_model/tab_model_list_unittest.cc
index bce16304b084b49705d1e989bbb2321122e4e7d6..78e0ef213a93e97a04fa4cc3ab3bc2c748140c38 100644
--- a/chrome/browser/ui/android/tab_model/tab_model_list_unittest.cc
+++ b/chrome/browser/ui/android/tab_model/tab_model_list_unittest.cc
@@ -42,7 +42,7 @@ TEST_F(TabModelListTest, TestGetTabModelForWebContents) {
TestTabModel tab_model(profile());
TabModelList::AddTabModel(&tab_model);
- scoped_ptr<content::WebContents> contents(CreateTestWebContents());
+ std::unique_ptr<content::WebContents> contents(CreateTestWebContents());
// Should not crash when there are no tabs.
EXPECT_EQ(NULL, TabModelList::GetTabModelForWebContents(contents.get()));
« no previous file with comments | « chrome/browser/ui/android/tab_model/tab_model.h ('k') | chrome/browser/ui/android/toolbar/toolbar_model_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698