[Webkit-unassigned] [Bug 50341] Progressbar rendering crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 20:28:36 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50341





--- Comment #10 from sadrul at chromium.org  2010-12-07 20:28:36 PST ---
(From update of attachment 75619)
View in context: https://bugs.webkit.org/attachment.cgi?id=75619&action=review

>> WebCore/rendering/RenderThemeChromiumSkia.cpp:-843
>> -        IntSize valueTileSize(static_cast<int>(valueImage->width() * tileScale), valueRect.height());
> 
> How about to move this computation out of if() and add the "0 < valueTileSize.width()" to that if's condition ?
> It looks basically the same kind of  check.

Using it as a condition for this block of code ends up not showing anything at all for the progress-bar. Using a lower-bound value of 1 for the width at least shows a very tiny progress bar. I think that's better?

-- 
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