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

Unified Diff: components/mus/ws/server_window_surface.cc

Issue 1639223003: Makes it so each windowtreeclient can use whatever ids it wants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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
« no previous file with comments | « components/mus/ws/ids.h ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/server_window_surface.cc
diff --git a/components/mus/ws/server_window_surface.cc b/components/mus/ws/server_window_surface.cc
index a3986b9526a3b5c1e12515fa69b41c7050d31103..61208c15ceb53f5d9fb56478d93ee517abf5992a 100644
--- a/components/mus/ws/server_window_surface.cc
+++ b/components/mus/ws/server_window_surface.cc
@@ -101,6 +101,7 @@ bool ServerWindowSurface::ConvertSurfaceDrawQuad(
cc::RenderPass* render_pass) {
Id id = static_cast<Id>(
input->surface_quad_state->surface.To<cc::SurfaceId>().id);
+ // TODO(sky): this is now wrong, needs mapping from client to window.
WindowId other_window_id = WindowIdFromTransportId(id);
ServerWindow* other_window = window()->GetChildWindow(other_window_id);
if (!other_window) {
« no previous file with comments | « components/mus/ws/ids.h ('k') | components/mus/ws/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698