[Webkit-unassigned] [Bug 29912] Avoid zero division during SVGPaintServerPattern::setup() in Chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 4 21:43:38 PDT 2009


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





--- Comment #2 from Shiki Okasaka <shiki at google.com>  2009-10-04 21:43:38 PDT ---
(In reply to comment #1)
> I'm confused as to what you mean by "tileRect is not empty with Skia".  Why is
> this needed?

It's due to Skia's BitmapPlatformDevice::create() implementation for Windows;
it creates a 1x1 bitmap when either the requested width or height is zero.

http://src.chromium.org/viewvc/chrome/trunk/src/skia/ext/bitmap_platform_device_win.cc

The revised numY and numX calculations also seem to be more consistent with the
following tile image drawing logic.

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