зеркало из https://github.com/mozilla/gecko-dev.git
Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. Bustage fix.
This commit is contained in:
Родитель
633b25f14a
Коммит
0fed29e6f7
|
@ -4336,7 +4336,7 @@ public:
|
||||||
* kept alive past the next CC.
|
* kept alive past the next CC.
|
||||||
*/
|
*/
|
||||||
jsval GetJSVal() const
|
jsval GetJSVal() const
|
||||||
{if(JSVAL_IS_OBJECT(mJSVal))
|
{if(!JSVAL_IS_PRIMITIVE(mJSVal))
|
||||||
JSVAL_TO_OBJECT(mJSVal)->unmark(XPC_GC_COLOR_GRAY);
|
JSVAL_TO_OBJECT(mJSVal)->unmark(XPC_GC_COLOR_GRAY);
|
||||||
return mJSVal;}
|
return mJSVal;}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче