Index: third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp |
index 297ff31f2af84a710d7d42d4793e052f7905689f..f0255092bbf02a08bd8b66a4ec30268f4092c2b7 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.cpp |
@@ -29,7 +29,7 @@ bool isValidVariableReference(CSSParserTokenRange); |
bool classifyBlock(CSSParserTokenRange range, bool& hasReferences, bool isTopLevelBlock = true) |
{ |
while (!range.atEnd()) { |
- if (range.peek().blockType() == CSSParserToken::BlockStart) { |
+ if (range.peek().getBlockType() == CSSParserToken::BlockStart) { |
const CSSParserToken& token = range.peek(); |
CSSParserTokenRange block = range.consumeBlock(); |
if (token.functionId() == CSSValueVar) { |
@@ -43,7 +43,7 @@ bool classifyBlock(CSSParserTokenRange range, bool& hasReferences, bool isTopLev |
continue; |
} |
- ASSERT(range.peek().blockType() != CSSParserToken::BlockEnd); |
+ ASSERT(range.peek().getBlockType() != CSSParserToken::BlockEnd); |
const CSSParserToken& token = range.consume(); |
switch (token.type()) { |