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

Unified Diff: services/ui/ws/modal_window_controller.cc

Issue 2259823003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « services/ui/ws/frame_generator_unittest.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/modal_window_controller.cc
diff --git a/services/ui/ws/modal_window_controller.cc b/services/ui/ws/modal_window_controller.cc
index dcb25b5050012f8463cce4d8b55f6e709ff7af08..520d2f8889e149cb1c1030a1bd73b85eaef81dc7 100644
--- a/services/ui/ws/modal_window_controller.cc
+++ b/services/ui/ws/modal_window_controller.cc
@@ -50,7 +50,7 @@ void ModalWindowController::AddSystemModalWindow(ServerWindow* window) {
window->SetModal();
system_modal_windows_.push_back(window);
window_drawn_trackers_.insert(make_pair(
- window, base::WrapUnique(new ServerWindowDrawnTracker(window, this))));
+ window, base::MakeUnique<ServerWindowDrawnTracker>(window, this)));
window->AddObserver(this);
event_dispatcher_->ReleaseCaptureBlockedByModalWindow(window);
« no previous file with comments | « services/ui/ws/frame_generator_unittest.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698