зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1279609 - nsRunnableMethodImpl should use a non-public destructor. r=froydnj
This commit is contained in:
Родитель
2445bb037a
Коммит
d2ec8127e0
|
@ -746,8 +746,9 @@ class RunnableMethodImpl final
|
|||
::nsRunnableMethodReceiver<ClassType, Owning> mReceiver;
|
||||
Method mMethod;
|
||||
RunnableMethodArguments<Storages...> mArgs;
|
||||
public:
|
||||
private:
|
||||
virtual ~RunnableMethodImpl() { Revoke(); };
|
||||
public:
|
||||
template<typename... Args>
|
||||
explicit RunnableMethodImpl(ClassType* aObj, Method aMethod,
|
||||
Args&&... aArgs)
|
||||
|
|
Загрузка…
Ссылка в новой задаче