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..f59b0fb368f9166b744d31d53762430e8df0839f 100644 |
--- a/src/parsing/parameter-initializer-rewriter.cc |
+++ b/src/parsing/parameter-initializer-rewriter.cc |
@@ -68,7 +68,7 @@ |
} else { |
// Ensure that temporaries we find are already in the correct scope. |
DCHECK(proxy->var()->mode() != TEMPORARY || |
- proxy->var()->scope() == param_scope_->GetClosureScope()); |
+ proxy->var()->scope() == param_scope_->ClosureScope()); |
} |
} |