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

Unified Diff: Source/WebCore/page/animation/ImplicitAnimation.cpp

Issue 10696154: Merge 120639 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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: 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)
« no previous file with comments | « Source/WebCore/page/animation/AnimationController.cpp ('k') | Source/WebCore/page/animation/KeyframeAnimation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698