Index: services/ui/gpu/display_compositor/compositor_frame_sink_impl.h |
diff --git a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h |
index b6aa16b910efea28a23dc47e6c29f063fe42c4c4..dc2acd5b2ac58a9aceda106d58146ff13d3c6c86 100644 |
--- a/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h |
+++ b/services/ui/gpu/display_compositor/compositor_frame_sink_impl.h |
@@ -6,12 +6,12 @@ |
#define SERVICES_UI_GPU_DISPLAY_COMPOSITOR_COMPOSITOR_FRAME_SINK_IMPL_H_ |
#include "base/memory/ref_counted.h" |
+#include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
#include "cc/scheduler/begin_frame_source.h" |
#include "cc/surfaces/surface_factory.h" |
#include "cc/surfaces/surface_factory_client.h" |
#include "cc/surfaces/surface_id.h" |
#include "mojo/public/cpp/bindings/strong_binding.h" |
-#include "services/ui/public/interfaces/gpu/display_compositor.mojom.h" |
#include "services/ui/surfaces/surfaces_state.h" |
namespace ui { |
@@ -22,7 +22,7 @@ class CompositorFrameSinkDelegate; |
// A client presents visuals to screen by submitting CompositorFrames to a |
// CompositorFrameSink. |
class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient, |
- public mojom::CompositorFrameSink, |
+ public cc::mojom::MojoCompositorFrameSink, |
public cc::BeginFrameObserver { |
public: |
CompositorFrameSinkImpl( |
@@ -33,7 +33,7 @@ class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient, |
mojom::CompositorFrameSinkClientPtr client); |
~CompositorFrameSinkImpl() override; |
- // mojom::CompositorFrameSink implementation. |
+ // cc::mojom::CompositorFrameSink implementation. |
dcheng
2016/09/16 18:23:45
Nit: MojoCompositorFrameSink
|
void SetNeedsBeginFrame(bool needs_begin_frame) override; |
void SubmitCompositorFrame( |
cc::CompositorFrame compositor_frame, |