| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 051799571158e80164251832a3a2a3e5358c8d66..fd77fad810a9a644e0b05a2d5980b7cb293f839a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -27,6 +27,7 @@
|
| #include "core/layout/LayoutObject.h"
|
|
|
| #include "core/HTMLNames.h"
|
| +#include "core/animation/ElementAnimations.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/AXObjectCache.h"
|
| #include "core/dom/ElementTraversal.h"
|
| @@ -2072,6 +2073,16 @@ void LayoutObject::styleWillChange(StyleDifference diff, const ComputedStyle& ne
|
| }
|
| }
|
|
|
| +void LayoutObject::clearBaseComputedStyle()
|
| +{
|
| + if (!node())
|
| + return;
|
| + if (!node()->isElementNode())
|
| + return;
|
| + if (ElementAnimations* animations = toElement(node())->elementAnimations())
|
| + animations->clearBaseComputedStyle();
|
| +}
|
| +
|
| static bool areNonIdenticalCursorListsEqual(const ComputedStyle* a, const ComputedStyle* b)
|
| {
|
| ASSERT(a->cursors() != b->cursors());
|
|
|