mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1032457 - Rename ExportOptions to ExportFunctionOptions. r=gabor
This commit is contained in:
parent
c99db891c9
commit
224af71806
@ -283,7 +283,7 @@ ExportFunction(JSContext *cx, HandleValue vfunction, HandleValue vscope, HandleV
|
||||
|
||||
RootedObject funObj(cx, &vfunction.toObject());
|
||||
RootedObject targetScope(cx, &vscope.toObject());
|
||||
ExportOptions options(cx, hasOptions ? &voptions.toObject() : nullptr);
|
||||
ExportFunctionOptions options(cx, hasOptions ? &voptions.toObject() : nullptr);
|
||||
if (hasOptions && !options.Parse())
|
||||
return false;
|
||||
|
||||
|
@ -3395,9 +3395,9 @@ public:
|
||||
JS::RootedId defineAs;
|
||||
};
|
||||
|
||||
class MOZ_STACK_CLASS ExportOptions : public OptionsBase {
|
||||
class MOZ_STACK_CLASS ExportFunctionOptions : public OptionsBase {
|
||||
public:
|
||||
ExportOptions(JSContext *cx = xpc_GetSafeJSContext(),
|
||||
ExportFunctionOptions(JSContext *cx = xpc_GetSafeJSContext(),
|
||||
JSObject* options = nullptr)
|
||||
: OptionsBase(cx, options)
|
||||
, defineAs(cx, JSID_VOID)
|
||||
|
Loading…
Reference in New Issue
Block a user