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

Unified Diff: services/native_viewport/viewport_surface.cc

Issue 807733002: Split surface id and simplify connecting to surfaces service (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 5d6bec77c0d3f03ac7b7391a8fd7a2df001cbab6..56149e0c37f9935ac3ce6b365c197c2d4d236065 100644
--- a/services/native_viewport/viewport_surface.cc
+++ b/services/native_viewport/viewport_surface.cc
@@ -111,6 +111,9 @@ void ViewportSurface::SubmitFrame() {
surface_->SubmitFrame(SurfaceId::From(id_), frame.Pass(), mojo::Closure());
}
+void ViewportSurface::SetIdNamespace(uint32_t id_namespace) {
+}
+
void ViewportSurface::ReturnResources(
mojo::Array<mojo::ReturnedResourcePtr> resources) {
// We never submit resources so we should never get any back.

Powered by Google App Engine
This is Rietveld 408576698