Bug 1118618 - Make constructors explicit on a CLOSED TREE
authorBill McCloskey <wmccloskey@mozilla.com>
Fri, 16 Jan 2015 10:34:27 -0800
changeset 224303 6f0f1a79b3790a240ba66736ebbca682f24700f7
parent 224302 dc36cbaa1cc395cfa1a8818c65ab847206474521
child 224304 4c33a6636cc4de825bc39c0e2d587d6bbaebf890
push id28122
push userkwierso@gmail.com
push dateSat, 17 Jan 2015 01:33:15 +0000
treeherdermozilla-central@369a8f14ccf8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1118618
milestone38.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 1118618 - Make constructors explicit on a CLOSED TREE
dom/ipc/ProcessHangMonitor.cpp
--- a/dom/ipc/ProcessHangMonitor.cpp
+++ b/dom/ipc/ProcessHangMonitor.cpp
@@ -56,17 +56,17 @@ using namespace mozilla::dom;
 namespace {
 
 /* Child process objects */
 
 class HangMonitorChild
   : public PProcessHangMonitorChild
 {
  public:
-  HangMonitorChild(ProcessHangMonitor* aMonitor);
+  explicit HangMonitorChild(ProcessHangMonitor* aMonitor);
   virtual ~HangMonitorChild();
 
   void Open(Transport* aTransport, ProcessHandle aHandle,
             MessageLoop* aIOLoop);
 
   typedef ProcessHangMonitor::SlowScriptAction SlowScriptAction;
   SlowScriptAction NotifySlowScript(nsITabChild* aTabChild,
                                     const char* aFileName,
@@ -158,17 +158,17 @@ private:
   ContentParent* mContentParent;
   HangData mHangData;
 };
 
 class HangMonitorParent
   : public PProcessHangMonitorParent
 {
 public:
-  HangMonitorParent(ProcessHangMonitor* aMonitor);
+  explicit HangMonitorParent(ProcessHangMonitor* aMonitor);
   virtual ~HangMonitorParent();
 
   void Open(Transport* aTransport, ProcessHandle aHandle,
             MessageLoop* aIOLoop);
 
   virtual bool RecvHangEvidence(const HangData& aHangData) MOZ_OVERRIDE;
 
   virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;