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

Unified Diff: cc/output/begin_frame_args.h

Issue 273823002: Adding gtest helpers for BeginFrameArgs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change EXPECT_EQ(true/false to EXPECT_TRUE/FALSE(. Created 6 years, 7 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
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.h
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h
index 4bc352bfba8aa9682dbf03be960c888f629984c4..6312e215bc19d3c4caf4ff8af8905e81ae64008b 100644
--- a/cc/output/begin_frame_args.h
+++ b/cc/output/begin_frame_args.h
@@ -20,7 +20,8 @@ struct CC_EXPORT BeginFrameArgs {
static BeginFrameArgs Create(base::TimeTicks frame_time,
base::TimeTicks deadline,
base::TimeDelta interval);
- static BeginFrameArgs CreateForSynchronousCompositor();
+ static BeginFrameArgs CreateForSynchronousCompositor(
+ base::TimeTicks now = base::TimeTicks());
// This is the default delta that will be used to adjust the deadline when
// proper draw-time estimations are not yet available.
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698