Bug 903041 - Exactly root --enable-more-deterministic builds; r=jonco

This commit is contained in:
Terrence Cole
2013-08-09 13:03:43 -07:00
parent 7492db5244
commit e43cffaed9

View File

@@ -169,10 +169,10 @@ struct SortComparatorIds
bool operator()(jsid a, jsid b, bool *lessOrEqualp)
{
/* Pick an arbitrary total order on jsids that is stable across executions. */
JSString *astr = IdToString(cx, a);
RootedString astr(cx, IdToString(cx, a));
if (!astr)
return false;
JSString *bstr = IdToString(cx, b);
RootedString bstr(cx, IdToString(cx, b));
if (!bstr)
return false;