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

Unified Diff: cc/test/begin_frame_args_test.cc

Issue 267783004: Refactoring the way begin frame sources inside scheduler work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Trying an alternative to OnMissedBeginFrames method. Created 6 years, 3 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.cc
diff --git a/cc/test/begin_frame_args_test.cc b/cc/test/begin_frame_args_test.cc
index 137d5e12863be408a80f8eac25949be31ae36d72..c619a14a14e3d8c1a81b9637391a9d3bb897a08f 100644
--- a/cc/test/begin_frame_args_test.cc
+++ b/cc/test/begin_frame_args_test.cc
@@ -21,12 +21,15 @@ BeginFrameArgs CreateBeginFrameArgsForTesting(base::TimeTicks frame_time) {
BeginFrameArgs::DefaultInterval());
}
-BeginFrameArgs CreateBeginFrameArgsForTesting(int64 frame_time,
- int64 deadline,
- int64 interval) {
+BeginFrameArgs CreateBeginFrameArgsForTesting(
+ int64 frame_time,
+ int64 deadline,
+ int64 interval,
+ BeginFrameArgs::BeginFrameArgsType type) {
return BeginFrameArgs::Create(base::TimeTicks::FromInternalValue(frame_time),
base::TimeTicks::FromInternalValue(deadline),
- base::TimeDelta::FromInternalValue(interval));
+ base::TimeDelta::FromInternalValue(interval),
+ type);
}
BeginFrameArgs CreateExpiredBeginFrameArgsForTesting() {

Powered by Google App Engine
This is Rietveld 408576698