[Webkit-unassigned] [Bug 55830] REGRESSION: Animated gifs blink and cause high CPU usage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 7 14:15:29 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55830
--- Comment #16 from David <david at wmol.com> 2011-03-07 14:15:29 PST ---
here is your patch to fix it.
--- GIFImageDecoder.cpp.orig Mon Mar 7 16:59:34 2011
+++ GIFImageDecoder.cpp Mon Mar 7 17:14:09 2011
@@ -343,7 +343,7 @@
if ((prevMethod == RGBA32Buffer::DisposeNotSpecified) || (prevMethod == RGBA32Buffer::DisposeKeep)) {
// Preserve the last frame as the starting state for this frame.
- if (!buffer->copyBitmapData(*prevBuffer));
+ if (!buffer->copyBitmapData(*prevBuffer))
return setFailed();
} else {
// We want to clear the previous frame to transparent, without
@@ -357,7 +357,7 @@
return setFailed();
} else {
// Copy the whole previous buffer, then clear just its frame.
- if (!buffer->copyBitmapData(*prevBuffer));
+ if (!buffer->copyBitmapData(*prevBuffer))
return setFailed();
for (int y = prevRect.y(); y < prevRect.bottom(); ++y) {
for (int x = prevRect.x(); x < prevRect.right(); ++x)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list