Bug 1040030 - Give InputScopeImpl a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 17 Jul 2014 16:45:46 -0400
changeset 216727 391d478056bdafb28a935c852f875dc90472528d
parent 216726 37a16c8c4c1c5f6519c8fcb82ca4d5edf667dc29
child 216728 154d2510e44d87c976fc5306d6773c8c5f51cc62
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
bugs1040030
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 1040030 - Give InputScopeImpl a private destructor; r=bjacob
widget/windows/nsTextStore.cpp
--- a/widget/windows/nsTextStore.cpp
+++ b/widget/windows/nsTextStore.cpp
@@ -54,16 +54,18 @@ PRLogModuleInfo* sTextStoreLog = nullptr
 #endif // #ifdef PR_LOGGING
 
 /******************************************************************/
 /* InputScopeImpl                                                 */
 /******************************************************************/
 
 class InputScopeImpl MOZ_FINAL : public ITfInputScope
 {
+  ~InputScopeImpl() {}
+
 public:
   InputScopeImpl(const nsTArray<InputScope>& aList)
     : mInputScopes(aList)
   {
     PR_LOG(sTextStoreLog, PR_LOG_ALWAYS,
       ("TSF: 0x%p InputScopeImpl()", this));
   }