diff --git a/gfx/src/gtk/nsImageGTK.cpp b/gfx/src/gtk/nsImageGTK.cpp index d0c2a2da672..23185471ac8 100644 --- a/gfx/src/gtk/nsImageGTK.cpp +++ b/gfx/src/gtk/nsImageGTK.cpp @@ -295,19 +295,6 @@ void nsImageGTK::ImageUpdated(nsIDeviceContext *aContext, #endif mFlags = aFlags; // this should be 0'd out by Draw() - - // check if the image has an all-opaque 8-bit alpha mask - if ((mAlphaDepth==8) && !mAlphaValid) { - for (int y=mDecodedY1; y