Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index f49e96c04d90511a9a0385e150ec0861ffd96c6b..4b01b696c95202e1b4618a5a687eb9b21325fdb8 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -1184,9 +1184,9 @@ PreParserExpression PreParser::ParseClassLiteral( |
// property names here. |
Identifier name; |
ExpressionClassifier property_classifier(this); |
- ParsePropertyDefinition( |
- &checker, in_class, has_extends, MethodKind::kNormal, &is_computed_name, |
- &has_seen_constructor, &property_classifier, &name, CHECK_OK); |
+ ParsePropertyDefinition(&checker, in_class, has_extends, &is_computed_name, |
+ &has_seen_constructor, &property_classifier, &name, |
+ CHECK_OK); |
ValidateExpression(&property_classifier, CHECK_OK); |
if (classifier != nullptr) { |
classifier->AccumulateFormalParameterContainmentErrors( |