Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie

This commit is contained in:
Jan de Mooij
2015-06-30 11:20:56 -07:00
parent 0fe6bc70e8
commit f3ccbe5797
21 changed files with 33 additions and 45 deletions

View File

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