Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3046)

Unified Diff: cc/test/begin_frame_args_test.h

Issue 1132753008: Replaced TestNowSource with SimpleTestTickClock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased again. Replaces TimeSource with TickClock in TestAlwaysFailTimeSource Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/begin_frame_args_test.h
diff --git a/cc/test/begin_frame_args_test.h b/cc/test/begin_frame_args_test.h
index 73aaf0219e0ed87c5309425015c050baa8ad5785..ab4767cdb0374b7d6f73f3d6da330a618df13990 100644
--- a/cc/test/begin_frame_args_test.h
+++ b/cc/test/begin_frame_args_test.h
@@ -7,9 +7,9 @@
#include <iosfwd>
+#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
#include "cc/output/begin_frame_args.h"
-#include "cc/test/test_now_source.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
@@ -38,10 +38,10 @@ BeginFrameArgs CreateExpiredBeginFrameArgsForTesting(
// OrderSimpleTaskRunner.
BeginFrameArgs CreateBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
- scoped_refptr<TestNowSource> now_src);
+ base::SimpleTestTickClock* now_src);
BeginFrameArgs CreateExpiredBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
- scoped_refptr<TestNowSource> now_src);
+ base::SimpleTestTickClock* now_src);
// gtest helpers -- these *must* be in the same namespace as the types they
// operate on.

Powered by Google App Engine
This is Rietveld 408576698