| Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h
|
| index 5d43a5cfd2872926629e507dcbba8e2840439872..fd0c4b1308a8e105a575c6b328a10ba69799c47a 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/CSSValueKeywords.h"
|
| +#include "core/css/CSSValuePool.h"
|
| #include "platform/graphics/Color.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Allocator.h"
|
| @@ -21,13 +22,13 @@ class CSSParserFastPaths {
|
| public:
|
| // Parses simple values like '10px' or 'green', but makes no guarantees
|
| // about handling any property completely.
|
| - static RawPtr<CSSValue> maybeParseValue(CSSPropertyID, const String&, CSSParserMode);
|
| + static RawPtr<CSSValue> maybeParseValue(CSSPropertyID, const String&, CSSParserMode, CSSValuePool* localCSSValuePool = nullptr);
|
|
|
| // Properties handled here shouldn't be explicitly handled in CSSPropertyParser
|
| static bool isKeywordPropertyID(CSSPropertyID);
|
| static bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID);
|
|
|
| - static RawPtr<CSSValue> parseColor(const String&, CSSParserMode);
|
| + static RawPtr<CSSValue> parseColor(const String&, CSSParserMode, CSSValuePool*);
|
| };
|
|
|
| } // namespace blink
|
|
|