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

Unified Diff: ui/compositor/layer.cc

Issue 12517003: cc: Chromify the Animation and LayerAnimationController classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 928e6673829a2ff1f62b263d8a690368141ed02a..d5b3f093086adf5c71e28249d7fd3b379bba8ef5 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -804,12 +804,12 @@ SkColor Layer::GetColorForAnimation() const {
void Layer::AddThreadedAnimation(scoped_ptr<cc::Animation> animation) {
DCHECK(cc_layer_);
- cc_layer_->addAnimation(animation.Pass());
+ cc_layer_->AddAnimation(animation.Pass());
}
void Layer::RemoveThreadedAnimation(int animation_id) {
DCHECK(cc_layer_);
- cc_layer_->removeAnimation(animation_id);
+ cc_layer_->RemoveAnimation(animation_id);
}
void Layer::CreateWebLayer() {

Powered by Google App Engine
This is Rietveld 408576698