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

Unified Diff: cc/delay_based_time_source.cc

Issue 12408028: cc: Delay start of scrollbar animation setNeedsRedraw. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more test expectations 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
« no previous file with comments | « no previous file | cc/layer_impl.cc » ('j') | cc/layer_tree_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/delay_based_time_source.cc
diff --git a/cc/delay_based_time_source.cc b/cc/delay_based_time_source.cc
index 29240657e41771350775f9539bfb8c1c0db1ab60..1de51c6be1a23da634890381aa7546ed21cdeb71 100644
--- a/cc/delay_based_time_source.cc
+++ b/cc/delay_based_time_source.cc
@@ -225,7 +225,7 @@ void DelayBasedTimeSource::postNextTickTask(base::TimeTicks now)
m_nextParameters.interval.InMillisecondsF() * (1.0 + doubleTickThreshold));
m_thread->postDelayedTask(base::Bind(&DelayBasedTimeSource::onTimerFired,
m_weakFactory.GetWeakPtr()),
- delay.InMilliseconds());
+ delay);
m_nextParameters.tickTarget = newTickTarget;
m_currentParameters = m_nextParameters;
« no previous file with comments | « no previous file | cc/layer_impl.cc » ('j') | cc/layer_tree_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698