Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor in js. r=sstangl
This commit is contained in:
@@ -522,7 +522,7 @@ JavaScriptShared::findObjectById(JSContext* cx, const ObjectId& objId)
|
||||
static const uint64_t UnknownPropertyOp = 1;
|
||||
|
||||
bool
|
||||
JavaScriptShared::fromDescriptor(JSContext* cx, Handle<JSPropertyDescriptor> desc,
|
||||
JavaScriptShared::fromDescriptor(JSContext* cx, Handle<PropertyDescriptor> desc,
|
||||
PPropertyDescriptor* out)
|
||||
{
|
||||
out->attrs() = desc.attributes();
|
||||
@@ -578,7 +578,7 @@ UnknownStrictPropertyStub(JSContext* cx, HandleObject obj, HandleId id, MutableH
|
||||
|
||||
bool
|
||||
JavaScriptShared::toDescriptor(JSContext* cx, const PPropertyDescriptor& in,
|
||||
MutableHandle<JSPropertyDescriptor> out)
|
||||
MutableHandle<PropertyDescriptor> out)
|
||||
{
|
||||
out.setAttributes(in.attrs());
|
||||
if (!fromVariant(cx, in.value(), out.value()))
|
||||
|
||||
Reference in New Issue
Block a user