Bug 1032457 - Rename ExportOptions to ExportFunctionOptions. r=gabor

This commit is contained in:
Bobby Holley 2014-07-03 11:00:53 -07:00
parent c99db891c9
commit 224af71806
2 changed files with 3 additions and 3 deletions

View File

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

View File

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