Bug 1305577 - Remove the unused functions in dom/indexedDB/ActorsParent.cpp r?froydnj draft
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 26 Sep 2016 18:00:57 -0500
changeset 417775 68bc7a7b2f232cb060971c58bffee88ecbcca4b4
parent 417774 1bec3c0c4338ca9cf2cd3e9066dc6a11eeb72e1e
child 532177 50582f55b34927ff3cc9fc912e92d41cf98032b9
push id30497
push userbmo:sledru@mozilla.com
push dateMon, 26 Sep 2016 23:01:19 +0000
reviewersfroydnj
bugs1305577
milestone52.0a1
Bug 1305577 - Remove the unused functions in dom/indexedDB/ActorsParent.cpp r?froydnj MozReview-Commit-ID: InqtkCutOtr
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -12964,25 +12964,16 @@ IdleResource::IdleResource(const TimeSta
   : mIdleTime(aIdleTime)
 {
   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);
 }
@@ -12997,27 +12988,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 +13010,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::