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

Unified Diff: Source/core/dom/ElementRareData.h

Issue 1322883003: Oilpan: KeyframeEffect::m_target shouldn't become stale (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/animation/KeyframeEffect.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ElementRareData.h
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
index bcf990dca893a9073661d717c89a46de8f822089..5e27cfe6ef0a797ef74015199dba900aba584b20 100644
--- a/Source/core/dom/ElementRareData.h
+++ b/Source/core/dom/ElementRareData.h
@@ -172,6 +172,8 @@ inline ElementRareData::ElementRareData(LayoutObject* layoutObject)
inline ElementRareData::~ElementRareData()
{
#if !ENABLE(OILPAN)
+ if (m_elementAnimations)
+ m_elementAnimations->dispose();
ASSERT(!m_shadow);
#endif
ASSERT(!m_generatedBefore);
« no previous file with comments | « Source/core/animation/KeyframeEffect.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698