From 2fbefad3f4c89ffcfa00f971f69ee961c475a0ea Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Wed, 10 Jan 2001 02:37:43 +0000 Subject: [PATCH] Bug 61410 - move opaque test from ImageUpdated() to SetDecodedRect() r=pavlov, sr=blizzard --- gfx/src/gtk/nsImageGTK.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gfx/src/gtk/nsImageGTK.cpp b/gfx/src/gtk/nsImageGTK.cpp index d0c2a2da672b..23185471ac83 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