Bug 925534 - Convert toVariant to use handles, r=terrence

This commit is contained in:
Steve Fink
2013-10-11 22:02:24 -07:00
parent 0aae270303
commit 37e60e9737
3 changed files with 7 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ JavaScriptShared::convertGeckoStringToId(JSContext *cx, const nsString &from, JS
}
bool
JavaScriptShared::toVariant(JSContext *cx, jsval from, JSVariant *to)
JavaScriptShared::toVariant(JSContext *cx, JS::HandleValue from, JSVariant *to)
{
switch (JS_TypeOfValue(cx, from)) {
case JSTYPE_VOID: