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

Unified Diff: services/native_viewport/viewport_surface.cc

Issue 940293003: Add a Display and ContextProvider concept to mojom, use to recreate (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 5cee11b47f1bfbba29e7d0984baa3cf54c99dcc3..631e174a39f9f67f9e2930edc0b885b1f91f4833 100644
--- a/services/native_viewport/viewport_surface.cc
+++ b/services/native_viewport/viewport_surface.cc
@@ -57,6 +57,7 @@ void ViewportSurface::SetChildId(cc::SurfaceId child_id) {
}
void ViewportSurface::BindSurfaceToNativeViewport() {
+ /*
mojo::ViewportParameterListenerPtr listener;
auto listener_request = GetProxy(&listener);
mojo::CommandBufferPtr command_buffer;
@@ -70,6 +71,7 @@ void ViewportSurface::BindSurfaceToNativeViewport() {
Size::From(size_), listener_request.Pass());
SubmitFrame();
+ */
}
void ViewportSurface::SubmitFrame() {

Powered by Google App Engine
This is Rietveld 408576698