Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 158db5b49c3925fe6d419583cdaa5806601836a6..82c27f988a7ac9a47c774d4fef188f32145ded45 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -277,7 +277,7 @@ class Factory { |
Handle<JSFunction> NewFunctionWithoutPrototype( |
Handle<String> name, |
- StrictModeFlag strict_mode); |
+ LanguageMode language_mode); |
Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); |
@@ -467,7 +467,7 @@ class Factory { |
Handle<JSFunction> NewFunctionWithoutPrototypeHelper( |
Handle<String> name, |
- StrictModeFlag strict_mode); |
+ LanguageMode language_mode); |
Handle<DescriptorArray> CopyAppendCallbackDescriptors( |
Handle<DescriptorArray> array, |