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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 2616093003: Make CSSParserContext be garbage collected. (Closed)
Patch Set: fix fuzzer compile again Created 3 years, 11 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: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
index e548b3b12f20b14d025032d81e5082f1be7b45c6..7352193f5554ac5cdcc12c9335b82fd74aac97e4 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
@@ -256,7 +256,7 @@ const CSSValue* CSSVariableResolver::resolvePendingSubstitutions(
if (resolver.resolveTokenRange(
shorthandValue->variableDataValue()->tokens(),
disallowAnimationTainted, tokens, isAnimationTainted)) {
- CSSParserContext context(HTMLStandardMode, 0);
+ CSSParserContext* context = CSSParserContext::create(HTMLStandardMode);
HeapVector<CSSProperty, 256> parsedProperties;

Powered by Google App Engine
This is Rietveld 408576698