| Index: services/native_viewport/viewport_surface.h
|
| diff --git a/services/native_viewport/viewport_surface.h b/services/native_viewport/viewport_surface.h
|
| index d5e691ce1cd280a7266922ccb8057b4dcb1c522c..a96480fac778ad3faad4ce94a52e0a2019e47dc7 100644
|
| --- a/services/native_viewport/viewport_surface.h
|
| +++ b/services/native_viewport/viewport_surface.h
|
| @@ -16,13 +16,13 @@
|
| namespace native_viewport {
|
|
|
| // This manages the surface that draws to a particular NativeViewport instance.
|
| -class ViewportSurface : public mojo::SurfaceClient {
|
| +class ViewportSurface {
|
| public:
|
| ViewportSurface(mojo::SurfacePtr surface,
|
| mojo::Gpu* gpu_service,
|
| const gfx::Size& size,
|
| cc::SurfaceId child_id);
|
| - ~ViewportSurface() override;
|
| + ~ViewportSurface();
|
|
|
| void SetWidgetId(uint64_t widget_id);
|
| void SetSize(const gfx::Size& size);
|
| @@ -32,11 +32,6 @@ class ViewportSurface : public mojo::SurfaceClient {
|
| void BindSurfaceToNativeViewport();
|
| void SubmitFrame();
|
|
|
| - // SurfaceClient implementation.
|
| - void SetIdNamespace(uint32_t id_namespace) override;
|
| - void ReturnResources(
|
| - mojo::Array<mojo::ReturnedResourcePtr> resources) override;
|
| -
|
| mojo::SurfacePtr surface_;
|
| mojo::Gpu* gpu_service_;
|
| uint64_t widget_id_;
|
|
|