Bug 645416, part 4 - Rename DefinePropertiesAndBrand -> DefinePropertiesAndFunctions. r=bhackett.

This commit is contained in:
Jason Orendorff
2014-06-23 10:55:52 -05:00
parent aa5af229d2
commit a8d40db657
13 changed files with 30 additions and 32 deletions

View File

@@ -2685,8 +2685,8 @@ DefineConstructorAndPrototype(JSContext *cx, HandleObject obj, JSProtoKey key, H
goto bad;
}
if (!DefinePropertiesAndBrand(cx, proto, ps, fs) ||
(ctor != proto && !DefinePropertiesAndBrand(cx, ctor, static_ps, static_fs)))
if (!DefinePropertiesAndFunctions(cx, proto, ps, fs) ||
(ctor != proto && !DefinePropertiesAndFunctions(cx, ctor, static_ps, static_fs)))
{
goto bad;
}