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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1811913004: mus: Allow SetModal to fail gracefully (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed constructor/destructor Created 4 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
« no previous file with comments | « components/mus/public/cpp/lib/window_private.h ('k') | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index 5c28a568dd284e1e5dd8b677c1f4dd5eb2b9c658..84ed6702ca4df6ba4976d87910844b747b2959f6 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -219,7 +219,7 @@ void WindowTreeClientImpl::RemoveTransientWindowFromParent(Window* window) {
void WindowTreeClientImpl::SetModal(Window* window) {
DCHECK(tree_);
const uint32_t change_id = ScheduleInFlightChange(
- make_scoped_ptr(new CrashInFlightChange(window, ChangeType::SET_MODAL)));
+ make_scoped_ptr(new InFlightSetModalChange(window)));
tree_->SetModal(change_id, window->id());
}
« no previous file with comments | « components/mus/public/cpp/lib/window_private.h ('k') | components/mus/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698