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

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: Resize expect size of Persistent Created 5 years, 7 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 5de0390a18066f89d4c6313834d575e3c1740414..aec54a7c7a30fc8c3a59783ff2bdffc3cd84f4df 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -349,7 +349,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