Chromium Code Reviews| Index: src/ast.cc |
| diff --git a/src/ast.cc b/src/ast.cc |
| index 1429e2a437714408956b659ddebc41e4b462d629..9328a396ac30caa5aec0271255efee98df9172cf 100644 |
| --- a/src/ast.cc |
| +++ b/src/ast.cc |
| @@ -167,8 +167,8 @@ int FunctionLiteral::end_position() const { |
| } |
| -StrictModeFlag FunctionLiteral::strict_mode_flag() const { |
| - return scope()->strict_mode_flag(); |
| +LanguageMode FunctionLiteral::language_mode() const { |
| + return scope()->language_mode(); |
| } |