| 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 42ad05d6524ebcf8e9d1105324d593bc0d341c2d..45012bb41068683a35e0d8bf514aac0b8a4a63b0 100644
|
| --- a/content/browser/compositor/delegated_frame_host.h
|
| +++ b/content/browser/compositor/delegated_frame_host.h
|
| @@ -308,6 +308,11 @@ class CONTENT_EXPORT DelegatedFrameHost
|
| scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
|
| std::vector<scoped_refptr<OwnedMailbox> > idle_frame_subscriber_textures_;
|
|
|
| + // Set to true if a frame was received from the renderer and a copy request
|
| + // was made for the frame subscriber, but drawing has not yet started. This
|
| + // is used to prevent more than one copy request being executed per draw.
|
| + bool frame_subscriber_copy_request_pending_;
|
| +
|
| // Callback used to pass the output request to the layer or to a function
|
| // specified by a test.
|
| base::Callback<void(scoped_ptr<cc::CopyOutputRequest>)>
|
|
|