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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 672283003: cc: ReadyToDraw notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 1e422cacb7f0e147d251af4429a5c93fa79fb446..16f1d0fd0d25144a400c48e5dd645b1101938b20 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -337,6 +337,11 @@ void SingleThreadProxy::NotifyReadyToActivate() {
scheduler_on_impl_thread_->NotifyReadyToActivate();
}
+void SingleThreadProxy::NotifyReadyToDraw() {
+ // Thread-only feature.
vmpstr 2014/10/24 18:02:24 This would still be called though right? (if we're
ernstm 2014/10/27 21:13:57 Acknowledged.
+ NOTREACHED();
enne (OOO) 2014/10/24 19:16:28 This notification will still get called, so just m
ernstm 2014/10/27 21:13:57 Done.
+}
+
void SingleThreadProxy::SetNeedsRedrawOnImplThread() {
client_->ScheduleComposite();
if (scheduler_on_impl_thread_)

Powered by Google App Engine
This is Rietveld 408576698