| Index: cc/trees/layer_tree_host_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
|
| index 785f7d1c9fbcba14847bc6f5a88f4518368d3fe5..4758a9fbf65e78e7426a00313012a340752218e3 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -1102,8 +1102,8 @@ class LayerTreeHostTestFrameTimeUpdatesAfterActivationFails
|
| impl->BlockNotifyReadyToActivateForTesting(true);
|
| }
|
|
|
| - virtual void WillBeginImplFrameOnThread(LayerTreeHostImpl* impl,
|
| - const BeginFrameArgs& args) OVERRIDE {
|
| + virtual void WillBeginFrameOnThread(LayerTreeHostImpl* impl,
|
| + const BeginFrameArgs& args) OVERRIDE {
|
| if (impl->pending_tree())
|
| frame_count_with_pending_tree_++;
|
|
|
| @@ -1111,8 +1111,8 @@ class LayerTreeHostTestFrameTimeUpdatesAfterActivationFails
|
| impl->BlockNotifyReadyToActivateForTesting(false);
|
| }
|
|
|
| - virtual void DidBeginImplFrameOnThread(LayerTreeHostImpl* impl,
|
| - const BeginFrameArgs& args) OVERRIDE {
|
| + virtual void DidBeginFrameOnThread(LayerTreeHostImpl* impl,
|
| + const BeginFrameArgs& args) OVERRIDE {
|
| if (frame_count_with_pending_tree_ == 1) {
|
| EXPECT_EQ(first_frame_time_.ToInternalValue(), 0);
|
| first_frame_time_ = impl->CurrentFrameTimeTicks();
|
| @@ -2664,16 +2664,16 @@ class LayerTreeHostTestLCDNotification : public LayerTreeHostTest {
|
|
|
| SINGLE_THREAD_TEST_F(LayerTreeHostTestLCDNotification);
|
|
|
| -// Verify that the BeginImplFrame notification is used to initiate rendering.
|
| -class LayerTreeHostTestBeginImplFrameNotification : public LayerTreeHostTest {
|
| +// Verify that the BeginFrame notification is used to initiate rendering.
|
| +class LayerTreeHostTestBeginFrameNotification : public LayerTreeHostTest {
|
| public:
|
| virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| settings->begin_impl_frame_scheduling_enabled = true;
|
| }
|
|
|
| virtual void BeginTest() OVERRIDE {
|
| - // This will trigger a SetNeedsBeginImplFrame which will trigger a
|
| - // BeginImplFrame.
|
| + // This will trigger a SetNeedsBeginFrame which will trigger a
|
| + // BeginFrame.
|
| PostSetNeedsCommitToMainThread();
|
| }
|
|
|
| @@ -2691,9 +2691,9 @@ class LayerTreeHostTestBeginImplFrameNotification : public LayerTreeHostTest {
|
| base::TimeTicks frame_time_;
|
| };
|
|
|
| -MULTI_THREAD_TEST_F(LayerTreeHostTestBeginImplFrameNotification);
|
| +MULTI_THREAD_TEST_F(LayerTreeHostTestBeginFrameNotification);
|
|
|
| -class LayerTreeHostTestBeginImplFrameNotificationShutdownWhileEnabled
|
| +class LayerTreeHostTestBeginFrameNotificationShutdownWhileEnabled
|
| : public LayerTreeHostTest {
|
| public:
|
| virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
|
| @@ -2704,11 +2704,11 @@ class LayerTreeHostTestBeginImplFrameNotificationShutdownWhileEnabled
|
| virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); }
|
|
|
| virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
|
| - // The BeginImplFrame notification is turned off now but will get enabled
|
| + // The BeginFrame notification is turned off now but will get enabled
|
| // once we return. End test while it's enabled.
|
| ImplThreadTaskRunner()->PostTask(
|
| FROM_HERE,
|
| - base::Bind(&LayerTreeHostTestBeginImplFrameNotification::EndTest,
|
| + base::Bind(&LayerTreeHostTestBeginFrameNotification::EndTest,
|
| base::Unretained(this)));
|
| }
|
|
|
| @@ -2716,7 +2716,7 @@ class LayerTreeHostTestBeginImplFrameNotificationShutdownWhileEnabled
|
| };
|
|
|
| MULTI_THREAD_TEST_F(
|
| - LayerTreeHostTestBeginImplFrameNotificationShutdownWhileEnabled);
|
| + LayerTreeHostTestBeginFrameNotificationShutdownWhileEnabled);
|
|
|
| class LayerTreeHostTestAbortedCommitDoesntStall : public LayerTreeHostTest {
|
| protected:
|
|
|