| Index: cc/output/output_surface.h
|
| diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
|
| index 79dc0f621304a5f90eb7504a32e10c0611a237d4..9cd1df464d33d2a85e9e521fb39baadddaa32104 100644
|
| --- a/cc/output/output_surface.h
|
| +++ b/cc/output/output_surface.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CC_OUTPUT_OUTPUT_SURFACE_H_
|
| #define CC_OUTPUT_OUTPUT_SURFACE_H_
|
|
|
| +#include <deque>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -182,6 +184,7 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient {
|
| OutputSurfaceClient* client_;
|
| friend class OutputSurfaceCallbacks;
|
|
|
| + void AddSkippedBeginFrame(const BeginFrameArgs& skipped);
|
| void SetContext3D(scoped_ptr<WebKit::WebGraphicsContext3D> context3d);
|
| void ResetContext3D();
|
| void SetMemoryPolicy(const ManagedMemoryPolicy& policy,
|
| @@ -189,7 +192,8 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient {
|
|
|
| // This stores a BeginFrame that we couldn't process immediately, but might
|
| // process retroactively in the near future.
|
| - BeginFrameArgs skipped_begin_frame_args_;
|
| + std::deque<BeginFrameArgs> skipped_begin_frame_args_;
|
| + int consecutive_missed_deadlines_;
|
|
|
| // check_for_retroactive_begin_frame_pending_ is used to avoid posting
|
| // redundant checks for a retroactive BeginFrame.
|
|
|