Bug 1013646 - Fix build failure with GCC < 4.7 after bug 992357. r=jchen

This commit is contained in:
Mike Hommey 2014-05-21 11:28:39 +09:00
parent 195b02093e
commit b4bc306d1d

View File

@ -442,7 +442,7 @@ struct PrimitiveProperty
for (size_t i = 0; i < length; i++) {
JS::RootedValue elem(cx);
if (!CheckJSCall(env, JS_GetElement(cx, array, i, &elem)) ||
!CheckProperty<InValue>(env, cx, elem)) {
!CheckProperty<PrimitiveProperty::InValue>(env, cx, elem)) {
return nullptr;
}
buffer[i] = FromValue(env, instance, cx, elem);