mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1013646 - Fix build failure with GCC < 4.7 after bug 992357. r=jchen
This commit is contained in:
parent
195b02093e
commit
b4bc306d1d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user