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

Unified Diff: cc/trees/layer_tree.cc

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: 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
Index: cc/trees/layer_tree.cc
diff --git a/cc/trees/layer_tree.cc b/cc/trees/layer_tree.cc
index cf0c3bc4760acdc50ee11f53511f2f8162d980bf..1ae0934bc42fd9c0a70868bea0eac1939f98fc18 100644
--- a/cc/trees/layer_tree.cc
+++ b/cc/trees/layer_tree.cc
@@ -720,4 +720,12 @@ void LayerTree::SetNeedsDisplayOnAllLayers() {
layer->SetNeedsDisplay();
}
+SwapPromiseManager* LayerTree::GetSwapPromiseManager() const {
+ return layer_tree_host_->GetSwapPromiseManager();
+}
+
+SurfaceSequenceGenerator* LayerTree::GetSurfaceSequenceGenerator() const {
+ return layer_tree_host_->GetSurfaceSequenceGenerator();
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698