| Index: services/ui/ws/frame_generator.h
|
| diff --git a/services/ui/ws/frame_generator.h b/services/ui/ws/frame_generator.h
|
| index 9b7e742e43daa45c2722114a5c2576d404f0b2db..97d4a99c255c8a4a14d5ebe184c6723c52f713a5 100644
|
| --- a/services/ui/ws/frame_generator.h
|
| +++ b/services/ui/ws/frame_generator.h
|
| @@ -23,7 +23,6 @@
|
|
|
| namespace cc {
|
| class RenderPass;
|
| -class SurfaceId;
|
| }
|
|
|
| namespace ui {
|
| @@ -51,9 +50,8 @@ class FrameGenerator : public ServerWindowTracker,
|
| // Schedules a redraw for the provided region.
|
| void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget);
|
|
|
| - // If |window| corresponds to the active WM for the display then update
|
| - // |window_manager_surface_id_|.
|
| - void OnSurfaceCreated(const cc::SurfaceId& surface_id, ServerWindow* window);
|
| + // Updates the WindowManager's SurfaceInfo.
|
| + void OnSurfaceCreated(const cc::SurfaceInfo& surface_info);
|
|
|
| private:
|
| friend class ui::ws::test::FrameGeneratorTest;
|
| @@ -84,7 +82,7 @@ class FrameGenerator : public ServerWindowTracker,
|
| cc::mojom::MojoCompositorFrameSinkPtr compositor_frame_sink_;
|
| cc::mojom::DisplayPrivatePtr display_private_;
|
|
|
| - cc::SurfaceId window_manager_surface_id_;
|
| + cc::SurfaceInfo window_manager_surface_info_;
|
|
|
| mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> binding_;
|
|
|
|
|