| Index: services/ui/public/cpp/compositor_frame_sink.cc
|
| diff --git a/services/ui/public/cpp/compositor_frame_sink.cc b/services/ui/public/cpp/compositor_frame_sink.cc
|
| index 25c4e066ad7ecece6c45fe86f2a24c6abcd98750..017f70094e7391d65227549847d6618918789b1d 100644
|
| --- a/services/ui/public/cpp/compositor_frame_sink.cc
|
| +++ b/services/ui/public/cpp/compositor_frame_sink.cc
|
| @@ -19,10 +19,8 @@ CompositorFrameSink::CompositorFrameSink(
|
| std::unique_ptr<ui::WindowSurface> surface)
|
| : cc::CompositorFrameSink(
|
| make_scoped_refptr(new ContextProvider(std::move(gpu_channel_host))),
|
| - nullptr,
|
| nullptr),
|
| surface_(std::move(surface)) {
|
| - capabilities_.delegated_rendering = true;
|
| }
|
|
|
| CompositorFrameSink::~CompositorFrameSink() {}
|
| @@ -47,17 +45,6 @@ void CompositorFrameSink::DetachFromClient() {
|
| cc::CompositorFrameSink::DetachFromClient();
|
| }
|
|
|
| -void CompositorFrameSink::BindFramebuffer() {
|
| - // This is a delegating output surface, no framebuffer/direct drawing support.
|
| - NOTREACHED();
|
| -}
|
| -
|
| -uint32_t CompositorFrameSink::GetFramebufferCopyTextureFormat() {
|
| - // This is a delegating output surface, no framebuffer/direct drawing support.
|
| - NOTREACHED();
|
| - return 0;
|
| -}
|
| -
|
| void CompositorFrameSink::SwapBuffers(cc::CompositorFrame frame) {
|
| // CompositorFrameSink owns WindowSurface, and so if CompositorFrameSink is
|
| // destroyed then SubmitCompositorFrame's callback will never get called.
|
|
|