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

Unified Diff: Source/core/css/parser/CSSParser.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some small fixes to (hopefully) fix some broken tests 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/css/parser/CSSParser.h
diff --git a/Source/core/css/parser/CSSParser.h b/Source/core/css/parser/CSSParser.h
index 5b94c4b567e0043a9178691f40839a8e110149c0..140d72b836ddc2e77670e64d3dbedacf0a0b453b 100644
--- a/Source/core/css/parser/CSSParser.h
+++ b/Source/core/css/parser/CSSParser.h
@@ -38,9 +38,9 @@ public:
static bool parseValue(MutableStylePropertySet*, CSSPropertyID unresolvedProperty, const String&, bool important, CSSParserMode, StyleSheetContents*);
// This is for non-shorthands only
- static PassRefPtrWillBeRawPtr<CSSValue> parseSingleValue(CSSPropertyID, const String&, const CSSParserContext& = strictCSSParserContext());
+ static NullableCSSValue parseSingleValue(CSSPropertyID, const String&, const CSSParserContext& = strictCSSParserContext());
- static PassRefPtrWillBeRawPtr<CSSValue> parseFontFaceDescriptor(CSSPropertyID, const String&, const CSSParserContext&);
+ static NullableCSSValue parseFontFaceDescriptor(CSSPropertyID, const String&, const CSSParserContext&);
static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> parseInlineStyleDeclaration(const String&, Element*);

Powered by Google App Engine
This is Rietveld 408576698