зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1324330 (part 4) - Remove some unused functions. r=mccr8.
--HG-- extra : rebase_source : 093a6ae13879deafc070ffa658d5822dc310cf88
This commit is contained in:
Родитель
d7a51c9a2f
Коммит
2fde95af84
|
@ -617,13 +617,6 @@ XPCWrappedNative::Destroy()
|
|||
mMaybeScope = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
XPCWrappedNative::UpdateScriptableInfo(XPCNativeScriptableInfo* si)
|
||||
{
|
||||
MOZ_ASSERT(mScriptableInfo, "UpdateScriptableInfo expects an existing scriptable info");
|
||||
mScriptableInfo = si;
|
||||
}
|
||||
|
||||
void
|
||||
XPCWrappedNative::SetProto(XPCWrappedNativeProto* p)
|
||||
{
|
||||
|
|
|
@ -1489,18 +1489,9 @@ private:
|
|||
class MOZ_STACK_CLASS XPCNativeScriptableCreateInfo final
|
||||
{
|
||||
public:
|
||||
|
||||
explicit XPCNativeScriptableCreateInfo(const XPCNativeScriptableInfo& si)
|
||||
: mCallback(si.GetCallback()), mFlags(si.GetFlags()) {}
|
||||
|
||||
XPCNativeScriptableCreateInfo(already_AddRefed<nsIXPCScriptable>&& callback,
|
||||
XPCNativeScriptableFlags flags)
|
||||
: mCallback(callback), mFlags(flags) {}
|
||||
|
||||
XPCNativeScriptableCreateInfo()
|
||||
: mFlags(0) {}
|
||||
|
||||
|
||||
nsIXPCScriptable*
|
||||
GetCallback() const {return mCallback;}
|
||||
|
||||
|
@ -1893,8 +1884,6 @@ protected:
|
|||
virtual ~XPCWrappedNative();
|
||||
void Destroy();
|
||||
|
||||
void UpdateScriptableInfo(XPCNativeScriptableInfo* si);
|
||||
|
||||
private:
|
||||
enum {
|
||||
// Flags bits for mFlatJSObject:
|
||||
|
|
Загрузка…
Ссылка в новой задаче