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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2965103003: Test
Patch Set: c Created 3 years, 5 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
« no previous file with comments | « components/viz/service/display_embedder/shared_bitmap_allocation_notifier_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 2146b973324dbb0a0c94cf4638e5f4e7b69af964..57f34e6035c694b0f49542e5e18e3fe55676de11 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2603,6 +2603,11 @@ void RenderWidgetHostImpl::SubmitCompositorFrame(
return;
}
+ for (auto& entry : frame.metadata.shared_bitmaps_to_register) {
+ viz::ServerSharedBitmapManager::current()->ChildAllocatedSharedBitmap(
+ entry.size, entry.handle, entry.id);
+ }
+
last_local_surface_id_ = local_surface_id;
last_surface_properties_ = new_surface_properties;
« no previous file with comments | « components/viz/service/display_embedder/shared_bitmap_allocation_notifier_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698