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

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

Issue 1645503004: [exp] ash: sysui for mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ash-in-mus
Patch Set: . Created 4 years, 11 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: 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 e65ec1608b0a703d8daef4cea1128f757cb624c9..8030c5c5ae89739b9537f2fbaff52e3b7355c6fc 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -561,6 +561,8 @@ void WindowTreeClientImpl::OnTopLevelCreated(uint32_t change_id,
// have changes in flight for we can update them immediately. For properties
// with changes in flight we set the revert value from the server.
+ if (!in_flight_map_.count(change_id)) // XXX(sad): ??
sky 2016/02/03 22:43:48 This early out indicates something is wrong. How a
sadrul 2016/02/04 00:03:42 I have no idea why I am hitting this, but I hit th
+ return;
scoped_ptr<InFlightChange> change(std::move(in_flight_map_[change_id]));
in_flight_map_.erase(change_id);
DCHECK(change);

Powered by Google App Engine
This is Rietveld 408576698