Bug 1038219 - Give nsHapticFeedback a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 14:58:11 -0400
changeset 216151 10ab5792cf434492ed0ae6a7ffec6f91d23c8ae3
parent 216150 57f5916f07fb29f3b7f8f25eb139f34db376127c
child 216152 1cdc50fb04046bccf6e1c9b4f20e11e575b7dd11
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038219
milestone33.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 1038219 - Give nsHapticFeedback a private destructor; r=bjacob
dom/system/windows/nsHapticFeedback.h
--- a/dom/system/windows/nsHapticFeedback.h
+++ b/dom/system/windows/nsHapticFeedback.h
@@ -2,12 +2,14 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsIHapticFeedback.h"
 
 class nsHapticFeedback MOZ_FINAL : public nsIHapticFeedback
 {
+  ~nsHapticFeedback() {}
+
 public:
   NS_DECL_ISUPPORTS
   NS_DECL_NSIHAPTICFEEDBACK
 };