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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build fix Created 5 years, 8 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/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 383926f7d5dbcb74335fb52c4cef1da24fb1754d..9dd687d5184b8ed9cd4dc40d3870a16332dcff8f 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -360,7 +360,7 @@ ElementAnimations& Element::ensureElementAnimations()
{
ElementRareData& rareData = ensureElementRareData();
if (!rareData.elementAnimations())
- rareData.setElementAnimations(adoptPtrWillBeNoop(new ElementAnimations()));
+ rareData.setElementAnimations(new ElementAnimations);
return *rareData.elementAnimations();
}

Powered by Google App Engine
This is Rietveld 408576698