Bug 1333002 - Fix a misleading indentation in PeerConnectionCtx.cpp r=jesup draft
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 23 Jan 2017 10:01:05 +0100
changeset 464892 9261d78d8cddc738205212b60f662ac2089849cf
parent 463681 a3978751f45108ff1ae002ecebdc0fa23fc52b84
child 543037 c9019a17996c25bd47598af5393878ec81fed7e9
push id42478
push userbmo:sledru@mozilla.com
push dateMon, 23 Jan 2017 09:02:13 +0000
reviewersjesup
bugs1333002
milestone53.0a1
Bug 1333002 - Fix a misleading indentation in PeerConnectionCtx.cpp r=jesup MozReview-Commit-ID: 1iSHCgsfW0a
media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp
--- a/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp
+++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp
@@ -105,19 +105,20 @@ public:
     return NS_OK;
   }
 
 private:
   virtual ~PeerConnectionCtxObserver()
     {
       nsCOMPtr<nsIObserverService> observerService =
         services::GetObserverService();
-      if (observerService)
+      if (observerService) {
         observerService->RemoveObserver(this, NS_IOSERVICE_OFFLINE_STATUS_TOPIC);
         observerService->RemoveObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID);
+      }
     }
 };
 
 NS_IMPL_ISUPPORTS(PeerConnectionCtxObserver, nsIObserver);
 }
 
 namespace mozilla {