Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
This commit is contained in:
@@ -362,7 +362,7 @@ JavaScriptShared::fromVariant(JSContext* cx, const JSVariant& from, MutableHandl
|
||||
return true;
|
||||
|
||||
case JSVariant::Tbool:
|
||||
to.set(BOOLEAN_TO_JSVAL(from.get_bool()));
|
||||
to.setBoolean(from.get_bool());
|
||||
return true;
|
||||
|
||||
case JSVariant::TnsString:
|
||||
|
||||
Reference in New Issue
Block a user