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

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: Rebase to 188682 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 | « cc/base/thread_impl.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »
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 902b7494fc664ee14484316689a54e278676f922..db42105e8ac9a08abb7f0f06ab4c5d8105238040 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 | « cc/base/thread_impl.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698