mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 655192 - Update the initSharingEmptyShape comment to be more precise about what it requires of the provided proto, to avoid mentioning js_InitClass. r=jorendorff
--HG-- extra : rebase_source : 7008073db608db3f83ee31f9a7798f67ccc8d4b5
This commit is contained in:
parent
5911c8d372
commit
78a353366d
@ -1043,8 +1043,8 @@ struct JSObject : js::gc::Cell {
|
||||
JS_ALWAYS_INLINE void finalize(JSContext *cx);
|
||||
|
||||
/*
|
||||
* Like init, but also initializes map. The catch: proto must be the result
|
||||
* of a call to js_InitClass(...clasp, ...).
|
||||
* Like init, but also initializes map. proto must have an empty shape
|
||||
* created for it via proto->getEmptyShape.
|
||||
*/
|
||||
inline bool initSharingEmptyShape(JSContext *cx,
|
||||
js::Class *clasp,
|
||||
|
Loading…
Reference in New Issue
Block a user