Index: third_party/WebKit/Source/core/css/parser/CSSTokenizer.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h |
index 41fa90e32fc17a841cf61dacc7d42c326266a52d..c40240d5df689310908a021a35359ba27e795a66 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h |
@@ -9,6 +9,7 @@ |
#include "core/css/parser/CSSParserToken.h" |
#include "core/html/parser/InputStreamPreprocessor.h" |
#include "wtf/Allocator.h" |
+#include "wtf/text/StringView.h" |
#include "wtf/text/WTFString.h" |
#include <climits> |
@@ -17,7 +18,6 @@ namespace blink { |
class CSSTokenizerInputStream; |
class CSSParserObserverWrapper; |
-struct CSSParserString; |
class CSSParserTokenRange; |
class CORE_EXPORT CSSTokenizer { |
@@ -65,7 +65,7 @@ private: |
void consumeUntilCommentEndFound(); |
bool consumeIfNext(UChar); |
- CSSParserString consumeName(); |
+ StringView consumeName(); |
UChar32 consumeEscape(); |
bool nextTwoCharsAreValidEscape(); |
@@ -74,7 +74,7 @@ private: |
bool nextCharsAreIdentifier(UChar); |
bool nextCharsAreIdentifier(); |
CSSParserToken blockStart(CSSParserTokenType); |
- CSSParserToken blockStart(CSSParserTokenType blockType, CSSParserTokenType, CSSParserString); |
+ CSSParserToken blockStart(CSSParserTokenType blockType, CSSParserTokenType, StringView); |
CSSParserToken blockEnd(CSSParserTokenType, CSSParserTokenType startType); |
using CodePoint = CSSParserToken (CSSTokenizer::*)(UChar); |
@@ -110,7 +110,7 @@ private: |
CSSParserToken stringStart(UChar); |
CSSParserToken endOfFile(UChar); |
- CSSParserString registerString(const String&); |
+ StringView registerString(const String&); |
CSSTokenizerInputStream& m_input; |
Scope& m_scope; |