Index: Source/WebCore/page/animation/ImplicitAnimation.cpp |
=================================================================== |
--- Source/WebCore/page/animation/ImplicitAnimation.cpp (revision 122239) |
+++ Source/WebCore/page/animation/ImplicitAnimation.cpp (working copy) |
@@ -129,7 +129,7 @@ |
#endif |
// Restore the original (unanimated) style |
if (!paused()) |
- setNeedsStyleRecalc(m_object->styledGeneratingNode()); |
+ setNeedsStyleRecalc(m_object->node()); |
} |
void ImplicitAnimation::endAnimation() |
@@ -165,8 +165,8 @@ |
// Dispatch the event |
RefPtr<Element> element = 0; |
- if (m_object->styledGeneratingNode() && m_object->styledGeneratingNode()->isElementNode()) |
- element = static_cast<Element*>(m_object->styledGeneratingNode()); |
+ if (m_object->node() && m_object->node()->isElementNode()) |
+ element = static_cast<Element*>(m_object->node()); |
ASSERT(!element || (element->document() && !element->document()->inPageCache())); |
if (!element) |