| 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 c5127b181bbc3e6c644ab9c29b29de564bb51465..09a7758d587190936b67fed26527fe40f61dac42 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -51,6 +51,7 @@
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| #include "third_party/khronos/GLES2/gl2ext.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| +#include "ui/gfx/frame_time.h"
|
| #include "ui/gfx/point_conversions.h"
|
| #include "ui/gfx/size_conversions.h"
|
| #include "ui/gfx/vector2d_conversions.h"
|
| @@ -1004,10 +1005,9 @@ class LayerTreeHostTestFrameTimeUpdatesAfterDraw : public LayerTreeHostTest {
|
| first_frame_time_ = impl->CurrentFrameTimeTicks();
|
| impl->SetNeedsRedraw();
|
|
|
| - // Since base::TimeTicks::Now() uses a low-resolution clock on
|
| - // Windows, we need to make sure that the clock has incremented past
|
| - // first_frame_time_.
|
| - while (first_frame_time_ == base::TimeTicks::Now()) {}
|
| + // Since we might use a low-resolution clock on Windows, we need to
|
| + // make sure that the clock has incremented past first_frame_time_.
|
| + while (first_frame_time_ == gfx::FrameTime::Now()) {}
|
|
|
| return;
|
| }
|
|
|