[Webkit-unassigned] [Bug 20351] <canvas> code needs fewer #ifdefs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 11 17:32:57 PDT 2008


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





------- Comment #2 from eric at webkit.org  2008-08-11 17:32 PDT -------
So there were several non-intentional consequences of this patch.

1.  I needed to make Image refcounted (for my own personal sanity, if nothing
else).
2.  I now correctly (according to HTML5) return an exception when the image
isn't fully loaded and one tries to create a pattern from it.
3.  I added Image::nullImage() (which is slightly ugly, since it causes
Image.cpp to need BitmapImage.h)
4.  I added a constructor to Color() and fixed the "set stroke/fill style"
paths in the 2d-context code.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list