Chromium Code Reviews| Index: sky/engine/core/dom/Element.cpp |
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp |
| index fe8bfd40b8c84f4d7d9a8c97405e34c05c96cdd0..053a8d4ef1808b7c587636f9b386436070d5a65c 100644 |
| --- a/sky/engine/core/dom/Element.cpp |
| +++ b/sky/engine/core/dom/Element.cpp |
| @@ -842,7 +842,8 @@ void Element::detach(const AttachContext& context) |
| if (ActiveAnimations* activeAnimations = data->activeAnimations()) { |
| if (context.performingReattach) { |
| // FIXME: restart compositor animations rather than pull back to the main thread |
| - activeAnimations->cancelAnimationOnCompositor(); |
| + // FIXME(rafaelw): What should we do here? |
| + // activeAnimations->cancelAnimationOnCompositor(); |
|
esprehn
2014/12/02 07:02:02
I don't think we need to do anything, the animatio
|
| } else { |
| activeAnimations->cssAnimations().cancel(); |
| activeAnimations->setAnimationStyleChange(false); |
| @@ -870,7 +871,6 @@ PassRefPtr<RenderStyle> Element::styleForRenderer() |
| // styleForElement() might add active animations so we need to get it again. |
| if (ActiveAnimations* activeAnimations = this->activeAnimations()) { |
| activeAnimations->cssAnimations().maybeApplyPendingUpdate(this); |
| - activeAnimations->updateAnimationFlags(*style); |
| } |
| if (style->hasTransform()) { |