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

Unified Diff: cc/resource_update_controller.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
Index: cc/resource_update_controller.cc
diff --git a/cc/resource_update_controller.cc b/cc/resource_update_controller.cc
index 45cc562b9d8addf6e9a7beadac79a753ac03d351..8f182c45822e626f74ddab4f30014979105a9cf0 100644
--- a/cc/resource_update_controller.cc
+++ b/cc/resource_update_controller.cc
@@ -255,7 +255,7 @@ bool ResourceUpdateController::UpdateMoreTexturesIfEnoughTimeRemaining() {
thread_->postDelayedTask(
base::Bind(&ResourceUpdateController::OnTimerFired,
weak_factory_.GetWeakPtr()),
- kUploaderBusyTickRate * 1000);
+ base::TimeDelta::FromMilliseconds(kUploaderBusyTickRate * 1000));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698