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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2514033002: Introducing SurfaceReferenceFactory (Closed)
Patch Set: rebase Created 4 years 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_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index de50e70ea351370c82a80dde3788be6b893962c6..22ff2cc36b0fed83ad717b75d23b1449739d10c1 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1558,7 +1558,7 @@ CompositorFrameMetadata LayerTreeHostImpl::MakeCompositorFrameMetadata() const {
for (LayerImpl* surface_layer : active_tree_->SurfaceLayers()) {
metadata.referenced_surfaces.push_back(
- static_cast<SurfaceLayerImpl*>(surface_layer)->surface_id());
+ static_cast<SurfaceLayerImpl*>(surface_layer)->surface_info().id());
}
if (!InnerViewportScrollLayer())
return metadata;

Powered by Google App Engine
This is Rietveld 408576698