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

Unified Diff: cc/trees/proxy_impl.cc

Issue 1616953003: content: Improve thread priority for raster threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/output/output_surface.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('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 aefd847709a70a35a4d07b6e37e3d15fbdbb9245..46df9ecb995d379525755fedbb4c644c18c5e696 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -412,14 +412,6 @@ void ProxyImpl::RenewTreePriority() {
: ScrollHandlerState::SCROLL_DOES_NOT_AFFECT_SCROLL_HANDLER;
scheduler_->SetTreePrioritiesAndScrollState(tree_priority,
scroll_handler_state);
-
- // Notify the the client of this compositor via the output surface.
- // TODO(epenner): Route this to compositor-thread instead of output-surface
- // after GTFO refactor of compositor-thread (http://crbug/170828).
- if (layer_tree_host_impl_->output_surface()) {
- layer_tree_host_impl_->output_surface()->UpdateSmoothnessTakesPriority(
- tree_priority == SMOOTHNESS_TAKES_PRIORITY);
- }
}
void ProxyImpl::PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
« no previous file with comments | « cc/output/output_surface.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698