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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2149643002: CL for perf tryjob on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | tools/run-perf-test.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index f69296deb1bb8fdc9540b48093639cc3ccc68720..f3179ab6082558a4ffaaf8611e4b03e3be86d17f 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -412,10 +412,12 @@ bool ProxyImpl::IsInsideDraw() {
void ProxyImpl::RenewTreePriority() {
DCHECK(IsImplThread());
- bool smoothness_takes_priority =
+ bool smoothness_takes_priority = false;
+#if 0
layer_tree_host_impl_->pinch_gesture_active() ||
layer_tree_host_impl_->page_scale_animation_active() ||
layer_tree_host_impl_->IsActivelyScrolling();
+#endif
// Schedule expiration if smoothness currently takes priority.
if (smoothness_takes_priority)
« no previous file with comments | « no previous file | tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698