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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a typo that made tests fail. Created 6 years, 4 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/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 821028fa64595c087bf1cbc21aa4e4ccb12729ff..ddf6350319d756c2fb8d09d0f59c8445672cc3c4 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -425,9 +425,9 @@ class CC_EXPORT LayerTreeHostImpl
void SetTreePriority(TreePriority priority);
- void UpdateCurrentFrameTime();
+ void UpdateCurrentFrameTime(const BeginFrameArgs& args);
void ResetCurrentFrameTimeForNextFrame();
- virtual base::TimeTicks CurrentFrameTimeTicks();
+ virtual BeginFrameArgs CurrentBeginFrameArgs() const;
mithro-old 2014/08/11 07:33:33 Should these names be updated to "UpdateCurrentFra
Sami 2014/08/11 17:51:26 I was a little on the fence since they do actually
// Expected time between two begin impl frame calls.
base::TimeDelta begin_impl_frame_interval() const {
@@ -692,7 +692,7 @@ class CC_EXPORT LayerTreeHostImpl
gfx::Rect viewport_damage_rect_;
- base::TimeTicks current_frame_timeticks_;
+ BeginFrameArgs current_begin_frame_args_;
// Expected time between two begin impl frame calls.
base::TimeDelta begin_impl_frame_interval_;

Powered by Google App Engine
This is Rietveld 408576698