commit | cb88b74d5d53f802d491b8eea54e5fe107f72a16 | [log] [tgz] |
---|---|---|
author | kevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed May 28 18:36:50 2008 +0000 |
committer | kevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Wed May 28 18:36:50 2008 +0000 |
tree | a65f783a86854739cd0bbcd41f1a2a9b9d1a3aec | |
parent | 72c9a945bfbeea0a66093e5069337ac948bcfa30 [diff] |
Reviewed by Kevin Ollivier. Rescale image to fit the destination rect so that we don't get a crash when drawing in a destination rect that's bigger than the image rect. Also adds an optimization for drawing an image that is a solid color. https://bugs.webkit.org/show_bug.cgi?id=18465 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34178 268f45cc-cd09-0410-ab3c-d52691b4dbfc