Bug 1277646 - remove unused field gfxAndroidPlatform::mScreenDepth; r=snorp
authorNathan Froyd <froydnj@gmail.com>
Fri, 03 Jun 2016 18:31:05 -0400
changeset 375199 55df8b698e664f3082b394a043d0c9b57fc0dc9f
parent 375198 648a8ccff0394235e2a21b02824be6a87dd66210
child 375200 7f84cbdcc9f27469e260b53eb4527e80f042d1f6
push id20189
push userjlund@mozilla.com
push dateFri, 03 Jun 2016 17:40:55 +0000
reviewerssnorp
bugs1277646
milestone49.0a1
Bug 1277646 - remove unused field gfxAndroidPlatform::mScreenDepth; r=snorp clang indicates that this field is unused, and grepping seems to confirm that opinion.
gfx/thebes/gfxAndroidPlatform.h
--- a/gfx/thebes/gfxAndroidPlatform.h
+++ b/gfx/thebes/gfxAndroidPlatform.h
@@ -77,17 +77,16 @@ public:
     }
 
 protected:
     bool AccelerateLayersByDefault() override {
       return true;
     }
 
 private:
-    int mScreenDepth;
     gfxImageFormat mOffscreenFormat;
 
 #ifdef MOZ_WIDGET_GONK
     bool mIsInGonkEmulator;
 #endif
 };
 
 #endif /* GFX_PLATFORM_ANDROID_H */