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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_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
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model.h ('k') | chrome/browser/ui/tabs/tab_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tabs/tab_strip_model_unittest.cc
diff --git a/chrome/browser/ui/tabs/tab_strip_model_unittest.cc b/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
index fc75e6f9ff4732eab05ff3581fe9dda21fd46a4c..9d54fec7ef8534f2468b746f6a5be7be61d502b2 100644
--- a/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model_unittest.cc
@@ -7,11 +7,11 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
@@ -2477,7 +2477,8 @@ TEST_F(TabStripModelTest, TabBlockedState) {
reinterpret_cast<gfx::NativeWindow>(0), modal_dialog_manager);
modal_dialog_manager->ShowDialogWithManager(
reinterpret_cast<gfx::NativeWindow>(0),
- scoped_ptr<web_modal::SingleWebContentsDialogManager>(native_manager));
+ std::unique_ptr<web_modal::SingleWebContentsDialogManager>(
+ native_manager));
EXPECT_TRUE(strip_src.IsTabBlocked(1));
// Detach the tab.
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model.h ('k') | chrome/browser/ui/tabs/tab_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698