Index: third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
index 7381a7c2a7721cb1600aa5691493e05fdc27fa82..bda8767e9d96032fad6e00389e064491191d54b1 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.cpp |
@@ -28,14 +28,14 @@ CSSParserTokenRange CSSParserTokenRange::makeSubRange(const CSSParserToken* firs |
CSSParserTokenRange CSSParserTokenRange::consumeBlock() |
{ |
- ASSERT(peek().blockType() == CSSParserToken::BlockStart); |
+ ASSERT(peek().getBlockType() == CSSParserToken::BlockStart); |
const CSSParserToken* start = &peek() + 1; |
unsigned nestingLevel = 0; |
do { |
const CSSParserToken& token = consume(); |
- if (token.blockType() == CSSParserToken::BlockStart) |
+ if (token.getBlockType() == CSSParserToken::BlockStart) |
nestingLevel++; |
- else if (token.blockType() == CSSParserToken::BlockEnd) |
+ else if (token.getBlockType() == CSSParserToken::BlockEnd) |
nestingLevel--; |
} while (nestingLevel && m_first < m_last); |
@@ -51,9 +51,9 @@ void CSSParserTokenRange::consumeComponentValue() |
unsigned nestingLevel = 0; |
do { |
const CSSParserToken& token = consume(); |
- if (token.blockType() == CSSParserToken::BlockStart) |
+ if (token.getBlockType() == CSSParserToken::BlockStart) |
nestingLevel++; |
- else if (token.blockType() == CSSParserToken::BlockEnd) |
+ else if (token.getBlockType() == CSSParserToken::BlockEnd) |
nestingLevel--; |
} while (nestingLevel && m_first < m_last); |
} |