Chromium Code Reviews| Index: Source/core/dom/Element.cpp |
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
| index 2607f8068404cfcac097b193fdb630258c627a04..18133ac0d767b5ce1804f7f8efeaedc552a7475d 100644 |
| --- a/Source/core/dom/Element.cpp |
| +++ b/Source/core/dom/Element.cpp |
| @@ -3368,6 +3368,14 @@ bool Element::supportsStyleSharing() const |
| return true; |
| } |
| +void Element::clearAnimationStyleChange() |
| +{ |
| + if (!hasRareData()) |
| + return; |
| + if (ElementAnimations* elementAnimations = elementRareData()->elementAnimations()) |
|
dstockwell
2015/03/18 11:05:54
there's an elementAnimations() getter on this
rune
2015/03/18 14:53:03
Done.
|
| + elementAnimations->setAnimationStyleChange(false); |
| +} |
| + |
| DEFINE_TRACE(Element) |
| { |
| #if ENABLE(OILPAN) |