• krit@webkit.org's avatar
    2009-04-25 Dirk Schulze <krit@webkit.org> · 57ef91e7
    krit@webkit.org authored
            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
    57ef91e7
ChangeLog 3.24 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.