Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index dc07768b6ad78470e8254ef9f90e0485b0241903..b135a9c6705bb8866ae0d66b3c1f34ff79d526d5 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -935,7 +935,7 @@ Handle<JSFunction> Factory::NewFunctionWithPrototype(Handle<String> name, |
initial_map->set_constructor(*function); |
} |
- SetPrototypeProperty(function, prototype); |
+ JSFunction::SetPrototype(function, prototype); |
return function; |
} |