Bug 1145854 - Don't leak WrapperOwner::className's string. r=billm

This commit is contained in:
Blake Kaplan
2015-03-27 13:12:37 -07:00
parent 6298a220ab
commit a2a346563e
7 changed files with 24 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ class WrapperAnswer : public virtual JavaScriptShared
bool RecvHasInstance(const ObjectId &objId, const JSVariant &v, ReturnStatus *rs, bool *bp);
bool RecvObjectClassIs(const ObjectId &objId, const uint32_t &classValue,
bool *result);
bool RecvClassName(const ObjectId &objId, nsString *result);
bool RecvClassName(const ObjectId &objId, nsCString *result);
bool RecvGetPrototype(const ObjectId &objId, ReturnStatus *rs, ObjectOrNullVariant *result);
bool RecvRegExpToShared(const ObjectId &objId, ReturnStatus *rs, nsString *source, uint32_t *flags);