Bug 1133007 - followup - make CreateServerSocketRunnable's constructor explicit; r=bustage
authorNathan Froyd <froydnj@mozilla.com>
Tue, 02 Jun 2015 12:59:53 -0400
changeset 269385 13bb3c8762e3ad587ad2f88d821d3c9da50cbfe3
parent 269384 7730f834fa30e655f1bc6c771b2f0e76f58f4453
child 269386 628698b10e0457a464bbcc8f25d353a884219dd6
push id2501
push userjosea.olivera@gmail.com
push dateWed, 03 Jun 2015 06:55:32 +0000
reviewersbustage
bugs1133007
milestone41.0a1
Bug 1133007 - followup - make CreateServerSocketRunnable's constructor explicit; r=bustage
gfx/layers/LayerScope.cpp
--- a/gfx/layers/LayerScope.cpp
+++ b/gfx/layers/LayerScope.cpp
@@ -289,17 +289,17 @@ public:
         return *mSession;
     }
 
 private:
     friend class CreateServerSocketRunnable;
     class CreateServerSocketRunnable : public nsRunnable
     {
     public:
-        CreateServerSocketRunnable(LayerScopeManager *aLayerScopeManager)
+        explicit CreateServerSocketRunnable(LayerScopeManager *aLayerScopeManager)
             : mLayerScopeManager(aLayerScopeManager)
         {
         }
         NS_IMETHOD Run() {
             mLayerScopeManager->mWebSocketManager =
                 mozilla::MakeUnique<LayerScopeWebSocketManager>();
             return NS_OK;
         }