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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.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/properties/CSSPropertyAPITextDecorationColor.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.cpp
index 2b7bf9dd756bbd904a0cbd267e5bea762ee54f4d..bcc859afd01b7cccf3c347d22e8318cc31e39778 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITextDecorationColor.cpp
@@ -12,9 +12,9 @@ namespace blink {
const CSSValue* CSSPropertyAPITextDecorationColor::parseSingleValue(
CSSParserTokenRange& range,
- const CSSParserContext& context) {
+ const CSSParserContext* context) {
DCHECK(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
- return CSSPropertyParserHelpers::consumeColor(range, context.mode());
+ return CSSPropertyParserHelpers::consumeColor(range, context->mode());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698