Bug 1040030 - Give InputScopeImpl a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 17 Jul 2014 16:45:46 -0400
changeset 194837 391d478056bdafb28a935c852f875dc90472528d
parent 194836 37a16c8c4c1c5f6519c8fcb82ca4d5edf667dc29
child 194838 154d2510e44d87c976fc5306d6773c8c5f51cc62
push id7810
push userryanvm@gmail.com
push dateFri, 18 Jul 2014 20:08:45 +0000
treeherderfx-team@85d5040f1ad2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1040030
milestone33.0a1
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));
   }