Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 66b7fc614f35c01584344fb21b034cf338779d66..17798ab020050625e347f96fd888036e7f9d2e11 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1496,7 +1496,7 @@ Handle<GlobalObject> Factory::NewGlobalObject(Handle<JSFunction> constructor) { |
Handle<Name> name(descs->GetKey(i)); |
Handle<Object> value(descs->GetCallbacksObject(i), isolate()); |
Handle<PropertyCell> cell = NewPropertyCell(value); |
- NameDictionary::AddNameEntry(dictionary, name, cell, d); |
+ NameDictionary::Add(dictionary, *name, cell, d); |
} |
// Allocate the global object and initialize it with the backing store. |