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

Unified Diff: ui/gfx/animation/animation_container.cc

Issue 26880010: gfx: Add FrameTime and DisplayTime classes (Closed) Base URL: http://git.chromium.org/chromium/src.git@checkHighResNow4
Patch Set: WIP Created 7 years, 2 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 | « ui/gfx/animation/animation_container.h ('k') | ui/gfx/animation/animation_container_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/animation_container.cc
diff --git a/ui/gfx/animation/animation_container.cc b/ui/gfx/animation/animation_container.cc
index d8290b2eef6d9ae19960dbf99cb72da60658c6ea..8ab00509901cfba9cc5917e1fc0ea7e97e4edb97 100644
--- a/ui/gfx/animation/animation_container.cc
+++ b/ui/gfx/animation/animation_container.cc
@@ -9,7 +9,6 @@
#include "ui/gfx/frame_time.h"
using base::TimeDelta;
-using base::TimeTicks;
namespace gfx {
@@ -62,7 +61,7 @@ void AnimationContainer::Run() {
// ourself here to make sure we're still valid after running all the elements.
scoped_refptr<AnimationContainer> this_ref(this);
- TimeTicks current_time = gfx::FrameTime::Now();
+ gfx::FrameTime current_time = gfx::FrameTime::Now();
last_tick_time_ = current_time;
« no previous file with comments | « ui/gfx/animation/animation_container.h ('k') | ui/gfx/animation/animation_container_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698