mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126151 - Fix build break resulting from bug 1125356. r=shuang
This commit is contained in:
parent
66909958e1
commit
292504ecd6
@ -116,7 +116,7 @@ BroadcastSystemMessage(const nsAString& aType,
|
||||
aData.get_nsString().Length());
|
||||
value = STRING_TO_JSVAL(jsData);
|
||||
} else if (aData.type() == BluetoothValue::TArrayOfBluetoothNamedValue) {
|
||||
JS::Rooted<JSObject*> obj(cx, JS_NewPlainObject(cx)));
|
||||
JS::Rooted<JSObject*> obj(cx, JS_NewPlainObject(cx));
|
||||
if (!obj) {
|
||||
BT_WARNING("Failed to new JSObject for system message!");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user