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

Unified Diff: cc/surfaces/surface_aggregator.cc

Issue 2129523003: Remove more GpuMemoryBufferId plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_aggregator.cc
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
index 62a85fc0e35b96e1efb669184e83f38af8f6c6e8..83e313dd58312c2271b487b1021f604554096751 100644
--- a/cc/surfaces/surface_aggregator.cc
+++ b/cc/surfaces/surface_aggregator.cc
@@ -138,8 +138,7 @@ int SurfaceAggregator::ChildIdForSurface(Surface* surface) {
surface_id_to_resource_child_id_.find(surface->surface_id());
if (it == surface_id_to_resource_child_id_.end()) {
int child_id =
- provider_->CreateChild(base::Bind(&UnrefHelper, surface->factory()),
- surface->gpu_memory_buffer_client_id());
+ provider_->CreateChild(base::Bind(&UnrefHelper, surface->factory()));
if (surface->factory()) {
provider_->SetChildNeedsSyncTokens(
child_id, surface->factory()->needs_sync_points());
« no previous file with comments | « cc/surfaces/surface.cc ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698