Index: cc/layer_tree_host.cc |
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc |
index e6616c701326912ef3f5312cb8c0c7360335c0ab..9a116f1eb32a1e2f70e23af16b5ef72887de7c4e 100644 |
--- a/cc/layer_tree_host.cc |
+++ b/cc/layer_tree_host.cc |
@@ -876,8 +876,8 @@ void LayerTreeHost::animateLayers(base::TimeTicks time) |
AnimationRegistrar::AnimationControllerMap copy = m_animationRegistrar->active_animation_controllers(); |
for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); iter != copy.end(); ++iter) { |
- (*iter).second->animate(monotonicTime); |
- (*iter).second->updateState(0); |
+ (*iter).second->Animate(monotonicTime); |
+ (*iter).second->UpdateState(NULL); |
} |
} |
@@ -887,7 +887,7 @@ void LayerTreeHost::setAnimationEventsRecursive(const AnimationEventsVector& eve |
return; |
for (size_t eventIndex = 0; eventIndex < events.size(); ++eventIndex) { |
- if (layer->id() == events[eventIndex].layerId) { |
+ if (layer->id() == events[eventIndex].layer_id) { |
switch (events[eventIndex].type) { |
case AnimationEvent::Started: |
layer->notifyAnimationStarted(events[eventIndex], wallClockTime.ToDoubleT()); |