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 e832cc7a9539585e7a413d983fa15b136e86e15a..1bb90dcd17a157e287662cbd36ada6c2e16e077f 100644 |
--- a/content/browser/compositor/delegated_frame_host.h |
+++ b/content/browser/compositor/delegated_frame_host.h |
@@ -290,6 +290,13 @@ class CONTENT_EXPORT DelegatedFrameHost |
bool skipped_frames_; |
std::vector<ui::LatencyInfo> skipped_latency_info_list_; |
+ // Workaround to prevent creating unnecessarily persistent render passes. |
+ // When a copy request is made, it will force a separate render pass for the |
+ // web contents, which will persist until the a commit removes it. Use this |
+ // flag to force a full commit on the next frame, to remove that render pass. |
+ // http://crbug.com/564832 |
+ bool force_commit_for_next_frame_; |
+ |
// Holds delegated resources that have been given to a DelegatedFrameProvider, |
// and gives back resources when they are no longer in use for return to the |
// renderer. |