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

Unified Diff: components/mus/ws/focus_controller_unittest.cc

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « components/mus/ws/focus_controller.h ('k') | components/mus/ws/platform_display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/focus_controller_unittest.cc
diff --git a/components/mus/ws/focus_controller_unittest.cc b/components/mus/ws/focus_controller_unittest.cc
index d58fe2033fd666d3eb77e189452e26fb0a599d8e..563de06e87597b3705129345441f9f858ad5b1e4 100644
--- a/components/mus/ws/focus_controller_unittest.cc
+++ b/components/mus/ws/focus_controller_unittest.cc
@@ -151,7 +151,7 @@ TEST(FocusControllerTest, FocusShiftsOnDestroy) {
ServerWindow child_first(&server_window_delegate, WindowId());
child_first.SetVisible(true);
parent.Add(&child_first);
- scoped_ptr<ServerWindow> child_second(
+ std::unique_ptr<ServerWindow> child_second(
new ServerWindow(&server_window_delegate, WindowId()));
child_second->SetVisible(true);
parent.Add(child_second.get());
« no previous file with comments | « components/mus/ws/focus_controller.h ('k') | components/mus/ws/platform_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698