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

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

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: WIP Created 3 years, 7 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: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 421b1972ee5788f2ba37a7eb021086b3dbcb1a52..ce04ab1cf1e9261310cc256940a452dd298f4dff 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))
Fady Samuel 2017/05/18 20:02:01 Well, I think the conditions below are still valid
Peng 2017/05/18 20:50:59 With this change, the client can start submitting
return;
- }
-
client()->OnWindowSurfaceChanged(client_window_id.id, surface_info);
}

Powered by Google App Engine
This is Rietveld 408576698