Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 00ae587d640aadcaac3e9cb5cf8be0b93dfef162..0e8b7352d3b62399674b3ae8abea6ac0af56cf8a 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -376,7 +376,7 @@ class Factory { |
Handle<JSFunction> NewFunctionWithoutPrototype( |
Handle<String> name, |
- LanguageMode language_mode); |
+ StrictMode strict_mode); |
Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); |
@@ -578,7 +578,7 @@ class Factory { |
Handle<JSFunction> NewFunctionWithoutPrototypeHelper( |
Handle<String> name, |
- LanguageMode language_mode); |
+ StrictMode strict_mode); |
// Create a new map cache. |
Handle<MapCache> NewMapCache(int at_least_space_for); |