Bug 1126151 - Fix build break resulting from bug 1125356. r=shuang

This commit is contained in:
Jocelyn Liu 2015-01-26 22:28:00 -05:00
parent 66909958e1
commit 292504ecd6

View File

@ -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;