Chromium Code Reviews| Index: services/ui/ws/window_tree.cc |
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc |
| index c758775cab2b80b2acbcc755c00077f7d023413a..823df3346f5647fd58cd9145709d319ce0ed26eb 100644 |
| --- a/services/ui/ws/window_tree.cc |
| +++ b/services/ui/ws/window_tree.cc |
| @@ -961,14 +961,9 @@ void WindowTree::ProcessTransientWindowRemoved( |
| void WindowTree::ProcessWindowSurfaceChanged( |
| ServerWindow* window, |
| const cc::SurfaceInfo& surface_info) { |
| - ServerWindow* parent_window = window->parent(); |
| - ClientWindowId client_window_id, parent_client_window_id; |
| - if (!IsWindowKnown(window, &client_window_id) || |
| - !IsWindowKnown(parent_window, &parent_client_window_id) || |
| - !created_window_map_.count(parent_window->id())) { |
| + ClientWindowId client_window_id; |
| + if (!IsWindowKnown(window, &client_window_id)) |
|
sky
2017/05/26 23:14:18
This means for embed points you send the change to
Peng
2017/05/30 19:46:27
For the embed points, we only call this function o
|
| return; |
| - } |
| - |
| client()->OnWindowSurfaceChanged(client_window_id.id, surface_info); |
| } |