Bug 1304779 - Delete unused dom/indexedDB/ActorsParent.cpp copy constructors. r=janv
authorCykesiopka <cykesiopka.bmo@gmail.com>
Fri, 23 Sep 2016 00:29:44 +0800
changeset 315371 dad990960ba020c2fe08aea0721a39dc4559d78e
parent 315370 a5a3e0686adf3d021d1e7e9b7758c2890604c2c7
child 315372 e1e55d3898c8d54b462fbf49092c490bbe4ab786
push id30748
push usercbook@mozilla.com
push dateWed, 28 Sep 2016 13:53:19 +0000
treeherdermozilla-central@8c84b7618840 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanv
bugs1304779
milestone52.0a1
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
Bug 1304779 - Delete unused dom/indexedDB/ActorsParent.cpp copy constructors. r=janv MozReview-Commit-ID: 4c5Y0QtQ5CS
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -5616,32 +5616,32 @@ struct ConnectionPool::IdleResource
 {
   TimeStamp mIdleTime;
 
 protected:
   explicit
   IdleResource(const TimeStamp& aIdleTime);
 
   explicit
-  IdleResource(const IdleResource& aOther);
+  IdleResource(const IdleResource& aOther) = delete;
 
   ~IdleResource();
 };
 
 struct ConnectionPool::IdleDatabaseInfo final
   : public IdleResource
 {
   DatabaseInfo* mDatabaseInfo;
 
 public:
   MOZ_IMPLICIT
   IdleDatabaseInfo(DatabaseInfo* aDatabaseInfo);
 
   explicit
-  IdleDatabaseInfo(const IdleDatabaseInfo& aOther);
+  IdleDatabaseInfo(const IdleDatabaseInfo& aOther) = delete;
 
   ~IdleDatabaseInfo();
 
   bool
   operator==(const IdleDatabaseInfo& aOther) const
   {
     return mDatabaseInfo == aOther.mDatabaseInfo;
   }
@@ -5660,17 +5660,17 @@ struct ConnectionPool::IdleThreadInfo fi
 
 public:
   // Boo, this is needed because nsTArray::InsertElementSorted() doesn't yet
   // work with rvalue references.
   MOZ_IMPLICIT
   IdleThreadInfo(const ThreadInfo& aThreadInfo);
 
   explicit
-  IdleThreadInfo(const IdleThreadInfo& aOther);
+  IdleThreadInfo(const IdleThreadInfo& aOther) = delete;
 
   ~IdleThreadInfo();
 
   bool
   operator==(const IdleThreadInfo& aOther) const
   {
     return mThreadInfo.mRunnable == aOther.mThreadInfo.mRunnable &&
            mThreadInfo.mThread == aOther.mThreadInfo.mThread;
@@ -12965,26 +12965,16 @@ IdleResource::IdleResource(const TimeSta
 {
   AssertIsOnBackgroundThread();
   MOZ_ASSERT(!aIdleTime.IsNull());
 
   MOZ_COUNT_CTOR(ConnectionPool::IdleResource);
 }
 
 ConnectionPool::
-IdleResource::IdleResource(const IdleResource& aOther)
-  : mIdleTime(aOther.mIdleTime)
-{
-  AssertIsOnBackgroundThread();
-  MOZ_ASSERT(!aOther.mIdleTime.IsNull());
-
-  MOZ_COUNT_CTOR(ConnectionPool::IdleResource);
-}
-
-ConnectionPool::
 IdleResource::~IdleResource()
 {
   AssertIsOnBackgroundThread();
 
   MOZ_COUNT_DTOR(ConnectionPool::IdleResource);
 }
 
 ConnectionPool::
@@ -12997,27 +12987,16 @@ IdleDatabaseInfo::IdleDatabaseInfo(Datab
 {
   AssertIsOnBackgroundThread();
   MOZ_ASSERT(aDatabaseInfo);
 
   MOZ_COUNT_CTOR(ConnectionPool::IdleDatabaseInfo);
 }
 
 ConnectionPool::
-IdleDatabaseInfo::IdleDatabaseInfo(const IdleDatabaseInfo& aOther)
-  : IdleResource(aOther)
-  , mDatabaseInfo(aOther.mDatabaseInfo)
-{
-  AssertIsOnBackgroundThread();
-  MOZ_ASSERT(mDatabaseInfo);
-
-  MOZ_COUNT_CTOR(ConnectionPool::IdleDatabaseInfo);
-}
-
-ConnectionPool::
 IdleDatabaseInfo::~IdleDatabaseInfo()
 {
   AssertIsOnBackgroundThread();
   MOZ_ASSERT(mDatabaseInfo);
 
   MOZ_COUNT_DTOR(ConnectionPool::IdleDatabaseInfo);
 }
 
@@ -13030,28 +13009,16 @@ IdleThreadInfo::IdleThreadInfo(const Thr
   AssertIsOnBackgroundThread();
   MOZ_ASSERT(aThreadInfo.mRunnable);
   MOZ_ASSERT(aThreadInfo.mThread);
 
   MOZ_COUNT_CTOR(ConnectionPool::IdleThreadInfo);
 }
 
 ConnectionPool::
-IdleThreadInfo::IdleThreadInfo(const IdleThreadInfo& aOther)
-  : IdleResource(aOther)
-  , mThreadInfo(aOther.mThreadInfo)
-{
-  AssertIsOnBackgroundThread();
-  MOZ_ASSERT(mThreadInfo.mRunnable);
-  MOZ_ASSERT(mThreadInfo.mThread);
-
-  MOZ_COUNT_CTOR(ConnectionPool::IdleThreadInfo);
-}
-
-ConnectionPool::
 IdleThreadInfo::~IdleThreadInfo()
 {
   AssertIsOnBackgroundThread();
 
   MOZ_COUNT_DTOR(ConnectionPool::IdleThreadInfo);
 }
 
 ConnectionPool::