Index: src/parsing/parameter-initializer-rewriter.cc |
diff --git a/src/parsing/parameter-initializer-rewriter.cc b/src/parsing/parameter-initializer-rewriter.cc |
index b12a80f9b8d83dffb7bae2223a7d5c465ca576ca..73224a23d1643bc980c1b8a4b558f69150c4dde4 100644 |
--- a/src/parsing/parameter-initializer-rewriter.cc |
+++ b/src/parsing/parameter-initializer-rewriter.cc |
@@ -47,9 +47,9 @@ void Rewriter::VisitClassLiteral(ClassLiteral* class_literal) { |
} |
// No need to visit the constructor since it will have the class |
// scope on its scope chain. |
- ZoneList<ObjectLiteralProperty*>* props = class_literal->properties(); |
+ ZoneList<ClassLiteralProperty*>* props = class_literal->properties(); |
for (int i = 0; i < props->length(); ++i) { |
- ObjectLiteralProperty* prop = props->at(i); |
+ ClassLiteralProperty* prop = props->at(i); |
if (!prop->key()->IsLiteral()) { |
Visit(prop->key()); |
} |