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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 68893031: Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed cc animation unittest Created 7 years 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 57f3557e0f5de49b8cd875f9694329b6d80abc2b..1751e62c60f754546aa4c539cc0a6e8e6e5fa519 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -176,14 +176,9 @@ const RendererCapabilities& SingleThreadProxy::GetRendererCapabilities() const {
return renderer_capabilities_for_main_thread_;
}
-void SingleThreadProxy::SetNeedsAnimate() {
- DCHECK(Proxy::IsMainThread());
- client_->ScheduleAnimation();
-}
-
void SingleThreadProxy::SetNeedsUpdateLayers() {
DCHECK(Proxy::IsMainThread());
- client_->ScheduleComposite();
+ client_->ScheduleAnimation();
danakj 2013/12/05 18:28:16 Should we be renaming this ScheduleAnimation() fun
trchen 2013/12/06 03:42:39 Hmm it may be a good idea. There should be no conc
danakj 2013/12/06 17:21:33 Ah, sorry for being unclear here. I think SetNeeds
}
void SingleThreadProxy::DoCommit(scoped_ptr<ResourceUpdateQueue> queue) {

Powered by Google App Engine
This is Rietveld 408576698