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

Unified Diff: chrome/browser/ui/ash/window_positioner_unittest.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: Created 3 years, 9 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/ash/window_positioner_unittest.cc
diff --git a/chrome/browser/ui/ash/window_positioner_unittest.cc b/chrome/browser/ui/ash/window_positioner_unittest.cc
index a71dd18179b34637edca5b7ae0c1cbf1cee42972..bbb5adbe7688b33b7d42486e3cb4598acfa32998 100644
--- a/chrome/browser/ui/ash/window_positioner_unittest.cc
+++ b/chrome/browser/ui/ash/window_positioner_unittest.cc
@@ -79,7 +79,7 @@ void WindowPositionerTest::SetUp() {
// as they need it.
window()->Hide();
popup()->Hide();
- window_positioner_.reset(new WindowPositioner(WmShell::Get()));
+ window_positioner_ = base::MakeUnique<WindowPositioner>();
}
void WindowPositionerTest::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698