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); |