Index: cc/test/begin_frame_args_test.cc |
diff --git a/cc/test/begin_frame_args_test.cc b/cc/test/begin_frame_args_test.cc |
index c176a0e6ee877333bc6e20511b1b768ad72f58fd..977dc41bb9680b530abdde409f765623a49a5490 100644 |
--- a/cc/test/begin_frame_args_test.cc |
+++ b/cc/test/begin_frame_args_test.cc |
@@ -56,8 +56,8 @@ BeginFrameArgs CreateExpiredBeginFrameArgsForTesting( |
BeginFrameArgs CreateBeginFrameArgsForTesting( |
BeginFrameArgs::CreationLocation location, |
- scoped_refptr<TestNowSource> now_src) { |
- base::TimeTicks now = now_src->Now(); |
+ base::SimpleTestTickClock* now_src) { |
+ base::TimeTicks now = now_src->NowTicks(); |
return BeginFrameArgs::Create( |
location, now, now + (BeginFrameArgs::DefaultInterval() / 2), |
BeginFrameArgs::DefaultInterval(), BeginFrameArgs::NORMAL); |
@@ -65,8 +65,8 @@ BeginFrameArgs CreateBeginFrameArgsForTesting( |
BeginFrameArgs CreateExpiredBeginFrameArgsForTesting( |
BeginFrameArgs::CreationLocation location, |
- scoped_refptr<TestNowSource> now_src) { |
- base::TimeTicks now = now_src->Now(); |
+ base::SimpleTestTickClock* now_src) { |
+ base::TimeTicks now = now_src->NowTicks(); |
return BeginFrameArgs::Create( |
location, now, now - BeginFrameArgs::DefaultInterval(), |
BeginFrameArgs::DefaultInterval(), BeginFrameArgs::NORMAL); |