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

Unified Diff: ui/compositor/layer_animator.cc

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes based on review comments. Created 5 years, 11 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 | « tools/valgrind/gtest_exclude/base_unittests.gtest_win32.txt ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animator.cc
diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc
index adff73fe89afe1be63b1d5f930a468b9f5be4d9f..77cfc3bdd5c20f8d6a1505209d3a48f8bdfbce72 100644
--- a/ui/compositor/layer_animator.cc
+++ b/ui/compositor/layer_animator.cc
@@ -759,10 +759,7 @@ bool LayerAnimator::StartSequenceImmediately(LayerAnimationSequence* sequence) {
return false;
}
- // All clear, actually start the sequence. Note: base::TimeTicks::Now has
- // a resolution that can be as bad as 15ms. If this causes glitches in the
- // animations, this can be switched to HighResNow() (animation uses Now()
- // internally).
+ // All clear, actually start the sequence.
// All LayerAnimators share the same LayerAnimatorCollection. Use the
// last_tick_time() from there to ensure animations started during the same
// event complete at the same time.
« no previous file with comments | « tools/valgrind/gtest_exclude/base_unittests.gtest_win32.txt ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698