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

Unified Diff: cc/frame_rate_controller.h

Issue 12804006: cc: Save correct frame begin time to FrameRateCounter (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/frame_rate_controller.h
diff --git a/cc/frame_rate_controller.h b/cc/frame_rate_controller.h
index 681c6d20d65d4d746c30b3a267dda227d9fc36f9..c8a033e20e129cff8173335a4844938d6b9c2a39 100644
--- a/cc/frame_rate_controller.h
+++ b/cc/frame_rate_controller.h
@@ -57,6 +57,9 @@ public:
// This returns null for unthrottled frame-rate.
base::TimeTicks nextTickTime();
+ // This returns now for unthrottled frame-rate.
+ base::TimeTicks lastTickTime();
+
void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelta interval);
void setSwapBuffersCompleteSupported(bool);

Powered by Google App Engine
This is Rietveld 408576698