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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 22926024: cc: Control activation from the Scheduler (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedOutputSurface4
Patch Set: Created 7 years, 4 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/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 65d7980cb47a4bcca06c5012c929a0721111183b..995bae04ee3b5d850bf1681cda64f0e80021c3f4 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -271,6 +271,11 @@ void SingleThreadProxy::OnCanDrawStateChanged(bool can_draw) {
layer_tree_host_impl_->UpdateBackgroundAnimateTicking(!ShouldComposite());
}
+void SingleThreadProxy::NotifyReadyToActivate() {
+ // Thread-only feature.
+ NOTREACHED();
+}
+
void SingleThreadProxy::SetNeedsRedrawOnImplThread() {
layer_tree_host_->ScheduleComposite();
}

Powered by Google App Engine
This is Rietveld 408576698