Backed out changeset 328c356c0bcd (bug 1372405)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 21 Jun 2017 13:59:20 +0200
changeset 416441 17bfc89021aedc0a76876d797969ea6475c042e3
parent 416440 45438f565c49741e52d3eb744e3b6ce4a9c065f0
child 416442 4472d2623eceb63b76d650103b0e20f8c7d7c775
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1372405
milestone56.0a1
backs out328c356c0bcd1c53b4270cd84db5ac7a27d49fea
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 328c356c0bcd (bug 1372405)
xpcom/threads/nsThreadUtils.h
--- a/xpcom/threads/nsThreadUtils.h
+++ b/xpcom/threads/nsThreadUtils.h
@@ -419,17 +419,17 @@ enum RunnableKind
 // This class is designed to be subclassed.
 class Runnable : public nsIRunnable, public nsINamed
 {
 public:
   NS_DECL_THREADSAFE_ISUPPORTS
   NS_DECL_NSIRUNNABLE
   NS_DECL_NSINAMED
 
-  Runnable() = delete;
+  Runnable() {}
 
 #ifdef RELEASE_OR_BETA
   explicit Runnable(const char* aName) {}
 #else
   explicit Runnable(const char* aName) : mName(aName) {}
 #endif
 
 protected:
@@ -449,17 +449,17 @@ private:
 class CancelableRunnable : public Runnable,
                            public nsICancelableRunnable
 {
 public:
   NS_DECL_ISUPPORTS_INHERITED
   // nsICancelableRunnable
   virtual nsresult Cancel() override;
 
-  CancelableRunnable() = delete;
+  CancelableRunnable() {}
   explicit CancelableRunnable(const char* aName) : Runnable(aName) {}
 
 protected:
   virtual ~CancelableRunnable() {}
 private:
   CancelableRunnable(const CancelableRunnable&) = delete;
   CancelableRunnable& operator=(const CancelableRunnable&) = delete;
   CancelableRunnable& operator=(const CancelableRunnable&&) = delete;