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

@@ -91,7 +91,7 @@ class JavaScriptShared
bool Wrap(JSContext *cx, JS::HandleObject aObj, InfallibleTArray<CpowEntry> *outCpows);
protected:
bool toVariant(JSContext *cx, jsval from, JSVariant *to);
bool toVariant(JSContext *cx, JS::HandleValue from, JSVariant *to);
bool toValue(JSContext *cx, const JSVariant &from, JS::MutableHandleValue to);
bool fromDescriptor(JSContext *cx, JS::Handle<JSPropertyDescriptor> desc, PPropertyDescriptor *out);
bool toDescriptor(JSContext *cx, const PPropertyDescriptor &in,