зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372405
- Delete default Runnable ctor so name must be provided (r=froydnj)
MozReview-Commit-ID: 9L4UoBJWzQ3
This commit is contained in:
Родитель
f115503a0b
Коммит
d808e4bea3
|
@ -424,7 +424,7 @@ public:
|
|||
NS_DECL_NSIRUNNABLE
|
||||
NS_DECL_NSINAMED
|
||||
|
||||
Runnable() {}
|
||||
Runnable() = delete;
|
||||
|
||||
#ifdef RELEASE_OR_BETA
|
||||
explicit Runnable(const char* aName) {}
|
||||
|
@ -454,7 +454,7 @@ public:
|
|||
// nsICancelableRunnable
|
||||
virtual nsresult Cancel() override;
|
||||
|
||||
CancelableRunnable() {}
|
||||
CancelableRunnable() = delete;
|
||||
explicit CancelableRunnable(const char* aName) : Runnable(aName) {}
|
||||
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче