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

Unified Diff: cc/output/context_cache_controller.cc

Issue 2651703004: Temporarily disable context idle cleanup. (Closed)
Patch Set: Disable unit tests as well Created 3 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 | « no previous file | cc/output/context_cache_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/context_cache_controller.cc
diff --git a/cc/output/context_cache_controller.cc b/cc/output/context_cache_controller.cc
index 79e85b3e0336146e41e82aaaf4d0463e21d2e141..aec923235979c648ed03f208be34b2e212d25681 100644
--- a/cc/output/context_cache_controller.cc
+++ b/cc/output/context_cache_controller.cc
@@ -139,6 +139,12 @@ void ContextCacheController::InvalidatePendingIdleCallbacks() {
}
void ContextCacheController::OnIdle(uint32_t idle_generation) {
+// TODO(ericrk): Temporarily disabling this to investigate whether this
+// code regressed scroll latency on Android. crbug.com/664181
+#if defined(OS_ANDROID)
+ return;
+#endif
+
// First check if we should run our idle callback at all. If we have become
// busy since scheduling, just schedule another idle callback and return.
{
« no previous file with comments | « no previous file | cc/output/context_cache_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698