2009-04-25 Dirk Schulze <krit@webkit.org>
Reviewed by Oliver Hunt. A width or height of zero for the destination or source rect of an image causes a not invertible pattern matrix. This crahes newer versions of Cairo and give some graphic gliches in Canvas. With this patch we check if there is something to draw and return if not. * platform/graphics/cairo/ImageCairo.cpp: (WebCore::BitmapImage::draw): git-svn-id: svn://svn.chromium.org/blink/trunk@42875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment