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

Unified Diff: ui/display/win/screen_win_unittest.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/display/win/screen_win.h ('k') | ui/events/android/motion_event_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/win/screen_win_unittest.cc
diff --git a/ui/display/win/screen_win_unittest.cc b/ui/display/win/screen_win_unittest.cc
index 2542167c2857ceb327eda5c0cdc23d1b83c80c1f..adb1dc4cdecc784d6d5e6f61635b44c4301d8f4f 100644
--- a/ui/display/win/screen_win_unittest.cc
+++ b/ui/display/win/screen_win_unittest.cc
@@ -184,7 +184,7 @@ class TestScreenWinManager : public TestScreenWinInitializer {
private:
HWND hwndLast_ = nullptr;
- scoped_ptr<ScreenWin> screen_win_;
+ std::unique_ptr<ScreenWin> screen_win_;
std::vector<MONITORINFOEX> monitor_infos_;
std::vector<DisplayInfo> display_infos_;
std::unordered_map<HWND, gfx::Rect> hwnd_map_;
@@ -218,7 +218,7 @@ class ScreenWinTest : public testing::Test {
}
private:
- scoped_ptr<TestScreenWinManager> screen_win_initializer_;
+ std::unique_ptr<TestScreenWinManager> screen_win_initializer_;
DISALLOW_COPY_AND_ASSIGN(ScreenWinTest);
};
« no previous file with comments | « ui/display/win/screen_win.h ('k') | ui/events/android/motion_event_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698