| Index: third_party/WebKit/Source/core/css/parser/CSSParserToken.h
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
|
| index 6158842ce9c04970f1eea60e5944d89f64447a6d..fa882366884c93d2a788ee3134532755dc12f8e4 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h
|
| @@ -94,7 +94,9 @@ public:
|
| CSSParserTokenType type() const { return static_cast<CSSParserTokenType>(m_type); }
|
| StringView value() const
|
| {
|
| - return StringView(m_valueDataCharRaw, m_valueLength, m_valueIs8Bit);
|
| + if (m_valueIs8Bit)
|
| + return StringView(reinterpret_cast<const LChar*>(m_valueDataCharRaw), m_valueLength);
|
| + return StringView(reinterpret_cast<const UChar*>(m_valueDataCharRaw), m_valueLength);
|
| }
|
|
|
| UChar delimiter() const;
|
|
|