Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 777cad1ac79dfdcdceb8872bdc7bd316ffbb42ea..6c9400358ae511d065cd99397afb54fdf56abca0 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -4354,8 +4354,7 @@ typename ParserBase<Impl>::ExpressionT ParserBase<Impl>::ParseClassLiteral( |
RaiseLanguageMode(STRICT); |
ClassInfo class_info(this); |
- impl()->DeclareClassVariable(name, block_state.scope(), &class_info, |
- class_token_pos, CHECK_OK); |
+ impl()->DeclareClassVariable(name, &class_info, class_token_pos, CHECK_OK); |
if (Check(Token::EXTENDS)) { |
block_state.set_start_position(scanner()->location().end_pos); |