Index: cc/scheduler/scheduler_state_machine.h |
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h |
index 59e940c518ce2516b08bce3d3ac89e7675ea38a9..4709aa3c6f380acc7011c60570df3fd274c2d7b1 100644 |
--- a/cc/scheduler/scheduler_state_machine.h |
+++ b/cc/scheduler/scheduler_state_machine.h |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/time.h" |
#include "cc/base/cc_export.h" |
+#include "cc/output/begin_frame_args.h" |
#include "cc/scheduler/scheduler_settings.h" |
namespace cc { |
@@ -78,8 +79,7 @@ class CC_EXPORT SchedulerStateMachine { |
// Indicates that the system has entered and left a BeginFrame callback. |
// The scheduler will not draw more than once in a given BeginFrame |
// callback. |
- void DidEnterBeginFrame(); |
- void SetFrameTime(base::TimeTicks frame_time); |
+ void DidEnterBeginFrame(BeginFrameArgs args); |
void DidLeaveBeginFrame(); |
bool inside_begin_frame() const { return inside_begin_frame_; } |
@@ -188,7 +188,7 @@ class CC_EXPORT SchedulerStateMachine { |
bool expect_immediate_begin_frame_for_main_thread_; |
bool main_thread_needs_layer_textures_; |
bool inside_begin_frame_; |
- base::TimeTicks last_frame_time_; |
+ BeginFrameArgs last_begin_frame_args_; |
bool visible_; |
bool can_start_; |
bool can_draw_; |