Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index c2976a577a1a035749f25dd95c97bdf8fbba9af7..9b03774f13c59d25a6bfd7f0db638b45cf5ef55a 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -751,7 +751,8 @@ Handle<JSFunction> Factory::NewFunctionWithPrototype(Handle<String> name, |
// property that refers to the function. |
SetPrototypeProperty(function, prototype); |
// Currently safe because it is only invoked from Genesis. |
- SetLocalPropertyNoThrow(prototype, constructor_symbol(), function, DONT_ENUM); |
+ JSObject::SetLocalPropertyNoThrow( |
+ prototype, constructor_symbol(), function, DONT_ENUM); |
return function; |
} |