Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1501)

Unified Diff: services/native_viewport/viewport_surface.cc

Issue 871373015: De-Client Surface interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698