| Index: services/native_viewport/viewport_surface.cc
|
| diff --git a/services/native_viewport/viewport_surface.cc b/services/native_viewport/viewport_surface.cc
|
| index 1ca886d8de1df1059aad9ec1be48802e8829722a..5cee11b47f1bfbba29e7d0984baa3cf54c99dcc3 100644
|
| --- a/services/native_viewport/viewport_surface.cc
|
| +++ b/services/native_viewport/viewport_surface.cc
|
| @@ -28,7 +28,6 @@ ViewportSurface::ViewportSurface(mojo::SurfacePtr surface,
|
| gles2_bound_surface_created_(false),
|
| child_id_(child_id),
|
| weak_factory_(this) {
|
| - surface_.set_client(this);
|
| }
|
|
|
| ViewportSurface::~ViewportSurface() {
|
| @@ -104,15 +103,4 @@ void ViewportSurface::SubmitFrame() {
|
| mojo::Closure());
|
| }
|
|
|
| -void ViewportSurface::SetIdNamespace(uint32_t id_namespace) {
|
| - // We never pass our surface ID to anyone else, so we never need to generate a
|
| - // fully qualified id and thus don't care about our namespace.
|
| -}
|
| -
|
| -void ViewportSurface::ReturnResources(
|
| - mojo::Array<mojo::ReturnedResourcePtr> resources) {
|
| - // We never submit resources so we should never get any back.
|
| - DCHECK_EQ(0u, resources.size());
|
| -}
|
| -
|
| } // namespace native_viewport
|
|
|