| Index: cc/output/output_surface_unittest.cc
|
| diff --git a/cc/output/output_surface_unittest.cc b/cc/output/output_surface_unittest.cc
|
| index 91e7c39d0b1f231858ebead00f7ae877b62c84d1..1a531096202f352c43847773eef7e3f0cd408a48 100644
|
| --- a/cc/output/output_surface_unittest.cc
|
| +++ b/cc/output/output_surface_unittest.cc
|
| @@ -15,6 +15,7 @@
|
| #include "cc/test/scheduler_test_common.h"
|
| #include "gpu/GLES2/gl2extchromium.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| +#include "ui/gfx/frame_time.h"
|
|
|
| namespace cc {
|
| namespace {
|
| @@ -382,7 +383,7 @@ TEST(OutputSurfaceTest, RetroactiveBeginFrameDoesNotDoubleTickWhenEmulating) {
|
| // We need to subtract an epsilon from Now() because some platforms have
|
| // a slow clock.
|
| output_surface.OnVSyncParametersChangedForTesting(
|
| - base::TimeTicks::Now() - base::TimeDelta::FromSeconds(1), big_interval);
|
| + gfx::FrameTime::Now() - base::TimeDelta::FromSeconds(1), big_interval);
|
|
|
| output_surface.SetMaxFramesPending(2);
|
| output_surface.EnableRetroactiveBeginFrameDeadline(true, true, big_interval);
|
|
|