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

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

Issue 2014233002: Implement cc::SurfaceId StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 7403512862cbc492cdb7d45d728f4baf56dcd12b..f8f3067ec962888e225694727f6724fa0abdba21 100644
--- a/components/mus/ws/server_window_surface.cc
+++ b/components/mus/ws/server_window_surface.cc
@@ -110,7 +110,7 @@ bool ServerWindowSurface::ConvertSurfaceDrawQuad(
// Surface ids originate from the client, meaning they are ClientWindowIds
// and can only be resolved by the client that submitted the frame.
const ClientWindowId other_client_window_id(
- input->surface_quad_state->surface->local_id);
+ input->surface_quad_state->surface.local_id());
ServerWindow* other_window = window()->delegate()->FindWindowForSurface(
window(), mojom::SurfaceType::DEFAULT, other_client_window_id);
if (!other_window) {

Powered by Google App Engine
This is Rietveld 408576698