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

Unified Diff: ui/gfx/compositor/layer_animation_sequence.cc

Issue 8400059: Revert 107715 - Enable the new layer animation framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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: ui/gfx/compositor/layer_animation_sequence.cc
===================================================================
--- ui/gfx/compositor/layer_animation_sequence.cc (revision 107719)
+++ ui/gfx/compositor/layer_animation_sequence.cc (working copy)
@@ -29,6 +29,7 @@
void LayerAnimationSequence::Progress(base::TimeDelta elapsed,
LayerAnimationDelegate* delegate) {
+ TRACE_EVENT0("LayerAnimationSequence", "Progress");
if (elements_.size() == 0 || duration_ == base::TimeDelta())
return;
@@ -68,15 +69,6 @@
}
}
-void LayerAnimationSequence::GetTargetValue(
- LayerAnimationElement::TargetValue* target) const {
- if (is_cyclic_)
- return;
-
- for (size_t i = last_element_; i < elements_.size(); ++i)
- elements_[i]->GetTargetValue(target);
-}
-
void LayerAnimationSequence::Abort() {
size_t current_index = last_element_ % elements_.size();
while (current_index < elements_.size()) {
« no previous file with comments | « ui/gfx/compositor/layer_animation_sequence.h ('k') | ui/gfx/compositor/layer_animation_sequence_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698