Bug 1185223 - Followup build fix for bug 1185223; r=buildbustage, a=sylvestre
authorJan Varga <jan.varga@gmail.com>
Sat, 10 Oct 2015 10:16:31 +0200
changeset 289576 2d497358081c
parent 289575 1153ec762010
child 289577 968735b8ea8d
push id5196
push usercbook@mozilla.com
push date2015-10-19 07:20 +0000
treeherdermozilla-beta@135164c79784 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbuildbustage, sylvestre
bugs1185223
milestone42.0
Bug 1185223 - Followup build fix for bug 1185223; r=buildbustage, a=sylvestre
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -16382,17 +16382,17 @@ QuotaClient::PerformIdleMaintenanceOnDat
   MOZ_ASSERT(!aMaintenanceInfo.mGroup.IsEmpty());
   MOZ_ASSERT(!aMaintenanceInfo.mOrigin.IsEmpty());
 
   class MOZ_STACK_CLASS AutoClose final
   {
     nsCOMPtr<mozIStorageConnection> mConnection;
 
   public:
-    AutoClose(mozIStorageConnection* aConnection)
+    explicit AutoClose(mozIStorageConnection* aConnection)
       : mConnection(aConnection)
     {
       MOZ_ASSERT(aConnection);
     }
 
     ~AutoClose()
     {
       MOZ_ASSERT(mConnection);