Closed Bug 1177801 Opened 5 years ago Closed 5 years ago
Object With Proto
We already have NewObjectWithGivenProto, so you should always get the ClassProto instead of calling out from NewObjectWithClassProtoCommon when somebody passes a proto.
I have the feeling some of the code we use for TypedObjects is too complicated. I replaced cases where we had a non-null proto with NewObjectWithGivenProto, and the other cases with NewBuiltinClassInstance.
Attachment #8627942 - Flags: review?(bhackett1024)
Attachment #8627942 - Flags: review?(bhackett1024) → review+
Summary: Remove proto argument from NewObjectWithClassProto → Remove NewObjectWithProto
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.