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

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

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: more code. Created 3 years, 10 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: 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 a07dc1f420ce93bdd92192f534ee0d063dc4b00c..35fddbfcc1bb14538c7c4a2d3d3bd748318c13ce 100644
--- a/services/ui/ws/modal_window_controller.cc
+++ b/services/ui/ws/modal_window_controller.cc
@@ -48,7 +48,7 @@ void ModalWindowController::AddSystemModalWindow(ServerWindow* window) {
DCHECK(window);
DCHECK(!base::ContainsValue(system_modal_windows_, window));
- window->SetModal();
+ window->SetModal(true);
system_modal_windows_.push_back(window);
window_drawn_trackers_.insert(make_pair(
window, base::MakeUnique<ServerWindowDrawnTracker>(window, this)));

Powered by Google App Engine
This is Rietveld 408576698