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

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

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix build problem Created 3 years, 6 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 | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 5b7166a65fb5e5309f6f7e0959dd5edcb03a706a..ee3cbc149637ace04585064e844d33f06ff1886e 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -963,14 +963,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))
return;
- }
-
client()->OnWindowSurfaceChanged(client_window_id.id, surface_info);
}
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698