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

Unified Diff: Source/core/css/parser/CSSParserFastPaths.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: Rebase Created 5 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
« no previous file with comments | « Source/core/css/parser/CSSParser.cpp ('k') | Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserFastPaths.h
diff --git a/Source/core/css/parser/CSSParserFastPaths.h b/Source/core/css/parser/CSSParserFastPaths.h
index b801812d13856669b90bf26032d0f11bcb8a20fa..efd337015cb2adec0e1dbd2068f07cfc2a915dc2 100644
--- a/Source/core/css/parser/CSSParserFastPaths.h
+++ b/Source/core/css/parser/CSSParserFastPaths.h
@@ -13,19 +13,19 @@
namespace blink {
-class CSSValue;
+class NullableCSSValue;
class CSSParserFastPaths {
public:
// Parses simple values like '10px' or 'green', but makes no guarantees
// about handling any property completely.
- static PassRefPtrWillBeRawPtr<CSSValue> maybeParseValue(CSSPropertyID, const String&, CSSParserMode);
+ static NullableCSSValue maybeParseValue(CSSPropertyID, const String&, CSSParserMode);
// Properties handled here shouldn't be explicitly handled in CSSPropertyParser
static bool isKeywordPropertyID(CSSPropertyID);
static bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID);
- static PassRefPtrWillBeRawPtr<CSSValue> parseColor(const String&, bool quirksMode);
+ static NullableCSSValue parseColor(const String&, bool quirksMode);
};
} // namespace blink
« no previous file with comments | « Source/core/css/parser/CSSParser.cpp ('k') | Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698