Bug 1040038 - Give GfxD2DSurfaceReporter a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 17 Jul 2014 16:47:19 -0400
changeset 194811 defe870e87d84e65738a01f86924cdca9ac3c5f3
parent 194810 154d2510e44d87c976fc5306d6773c8c5f51cc62
child 194812 7dcb7b833e5c00f21bf5fc30d88feee66c3d35f3
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbjacob
bugs1040038
milestone33.0a1
Bug 1040038 - Give GfxD2DSurfaceReporter a private destructor; r=bjacob
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -78,16 +78,18 @@ using namespace mozilla::image;
 static const char *kFeatureLevelPref =
   "gfx.direct3d.last_used_feature_level_idx";
 static const int kSupportedFeatureLevels[] =
   { D3D10_FEATURE_LEVEL_10_1, D3D10_FEATURE_LEVEL_10_0,
     D3D10_FEATURE_LEVEL_9_3 };
 
 class GfxD2DSurfaceReporter MOZ_FINAL : public nsIMemoryReporter
 {
+    ~GfxD2DSurfaceReporter() {}
+
 public:
     NS_DECL_ISUPPORTS
 
     NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
                               nsISupports* aData, bool aAnonymize)
     {
         nsresult rv;