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 9c836c9e478683f7aa0ce45219d02df9b59802d4..41a3256f671017ef94ed0c02d6f689181ac8bca4 100644 |
--- a/components/mus/ws/server_window_surface.cc |
+++ b/components/mus/ws/server_window_surface.cc |
@@ -102,7 +102,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.To<cc::SurfaceId>().id); |
+ input->surface_quad_state->surface.To<cc::SurfaceId>().GetUnsafeValue()); |
ServerWindow* other_window = window()->delegate()->FindWindowForSurface( |
window(), mojom::SurfaceType::DEFAULT, other_client_window_id); |
if (!other_window) { |