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

Unified Diff: blimp/client/app/compositor/browser_compositor.cc

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: rebase Created 4 years, 3 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 | « no previous file | cc/BUILD.gn » ('j') | cc/trees/swap_promise_manager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/compositor/browser_compositor.cc
diff --git a/blimp/client/app/compositor/browser_compositor.cc b/blimp/client/app/compositor/browser_compositor.cc
index 81e278eb340cf6a64b55f072c62ca3d3497b5538..81aaeb2f6a7cae7e14fd006c60f0c4677250c48e 100644
--- a/blimp/client/app/compositor/browser_compositor.cc
+++ b/blimp/client/app/compositor/browser_compositor.cc
@@ -91,7 +91,8 @@ BrowserCompositor::BrowserCompositor(
root_layer_->SetBackgroundColor(SK_ColorWHITE);
host_->GetLayerTree()->SetRootLayer(root_layer_);
- host_->SetSurfaceClientId(surface_id_allocator_->client_id());
+ host_->GetSurfaceSequenceGenerator()->set_surface_client_id(
+ surface_id_allocator_->client_id());
}
BrowserCompositor::~BrowserCompositor() {
« no previous file with comments | « no previous file | cc/BUILD.gn » ('j') | cc/trees/swap_promise_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698