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

Unified Diff: Source/core/animation/css/CSSAnimations.cpp

Issue 415743005: Move ScopedStyleResolver and ScopedStyleTree to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/animation/css/CSSAnimations.cpp
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp
index 572a8226144e3f016c20162fb144dab7b39a0b53..d61e2ead83872b80edeb5887497b3dce4c2ab628 100644
--- a/Source/core/animation/css/CSSAnimations.cpp
+++ b/Source/core/animation/css/CSSAnimations.cpp
@@ -203,7 +203,7 @@ const StyleRuleKeyframes* CSSAnimations::matchScopedKeyframesRule(StyleResolver*
if (resolver->styleTreeHasOnlyScopedResolverForDocument())
return element->document().scopedStyleResolver()->keyframeStylesForAnimation(animationName);
- Vector<ScopedStyleResolver*, 8> stack;
+ WillBeHeapVector<RawPtrWillBeMember<ScopedStyleResolver>, 8> stack;
resolver->styleTreeResolveScopedKeyframesRules(element, stack);
if (stack.isEmpty())
return 0;
« no previous file with comments | « no previous file | Source/core/css/resolver/ScopedStyleResolver.h » ('j') | Source/core/css/resolver/ScopedStyleResolver.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698