Index: content/browser/compositor/delegated_frame_host.h |
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h |
index a163a643caedb93918168883b7de5f9540d84914..cb27b005d042aacbd90ce34329c5dba14c83a7d0 100644 |
--- a/content/browser/compositor/delegated_frame_host.h |
+++ b/content/browser/compositor/delegated_frame_host.h |
@@ -264,6 +264,14 @@ class CONTENT_EXPORT DelegatedFrameHost |
gfx::Size current_surface_size_; |
cc::ReturnedResourceArray surface_returned_resources_; |
+ // These Surfaces will be destroyed after the compositor commits and draws |
+ // its next frame. |
+ std::vector<cc::SurfaceId> surfaces_to_destroy_after_commit_; |
+ |
+ // These Surfaces will be destroyed after the compositor draws its next |
+ // frame. |
+ std::vector<cc::SurfaceId> surfaces_to_destroy_after_swap_; |
+ |
// This lock is the one waiting for a frame of the right size to come back |
// from the renderer/GPU process. It is set from the moment the aura window |
// got resized, to the moment we committed the renderer frame of the same |