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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improved the way the surface id is passed to renderer Created 5 years, 7 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: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index f3f6489daee1f0e3dec61487b979322f8e8fe52d..77e7e367886a8f0a8031937687299c3cb7fac023 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -942,4 +942,9 @@ void RenderWidgetCompositor::RateLimitSharedMainThreadContext() {
provider->ContextGL()->RateLimitOffscreenContextCHROMIUM();
}
+void RenderWidgetCompositor::SetSurfaceIdNamespace(
+ uint32 surface_id_namespace) {
+ layer_tree_host_->set_surface_id_namespace(surface_id_namespace);
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698