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

Unified Diff: Source/core/dom/Element.cpp

Issue 642773004: Clear baseRenderStyle on detach. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/ActiveAnimations.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/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index e5d02e214565b7a4ee7a6111baaf595f74fcb4f6..fc45f82ce7d0a98d8d43d2ab25210a8867521696 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -1387,6 +1387,7 @@ void Element::detach(const AttachContext& context)
activeAnimations->cssAnimations().cancel();
activeAnimations->setAnimationStyleChange(false);
}
+ activeAnimations->clearBaseRenderStyle();
}
if (ElementShadow* shadow = data->shadow())
« no previous file with comments | « Source/core/animation/ActiveAnimations.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698