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

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: 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 330bcc6d35486b0edddbd6927604f8a42c3feed3..bd640a54dc216742b32e1ee516ed946a091386e9 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