Index: cc/surfaces/display.h |
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h |
index 35b504149b23362a8e2de6c3bcb64a600469c04f..e86398d5641166488153d2fb7af4e9667e9901ef 100644 |
--- a/cc/surfaces/display.h |
+++ b/cc/surfaces/display.h |
@@ -14,6 +14,7 @@ |
#include "cc/scheduler/begin_frame_source.h" |
#include "cc/surfaces/display_scheduler.h" |
#include "cc/surfaces/frame_sink_id.h" |
+#include "cc/surfaces/framesink_manager.h" |
#include "cc/surfaces/surface_aggregator.h" |
#include "cc/surfaces/surface_id.h" |
#include "cc/surfaces/surface_manager.h" |
@@ -63,7 +64,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
~Display() override; |
- void Initialize(DisplayClient* client, SurfaceManager* surface_manager); |
+ void Initialize(DisplayClient* client, SurfaceManager* surface_manager, |
+ FrameSinkManager* framesink_manager); |
// device_scale_factor is used to communicate to the external window system |
// what scale this was rendered at. |
@@ -104,6 +106,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient, |
DisplayClient* client_ = nullptr; |
SurfaceManager* surface_manager_ = nullptr; |
+ FrameSinkManager* framesink_manager_ = nullptr; |
const FrameSinkId frame_sink_id_; |
SurfaceId current_surface_id_; |
gfx::Size current_surface_size_; |