-
simon.fraser@apple.com authored
Reviewed by Darin Adler. Crash with hardware accelerated rotation of a PDF image in a data URL <rdar://problem/7250378> PDF images don't return a color space from CGImageGetColorSpace(), so we need to null-check the return value before use. Test: compositing/color-matching/pdf-image-match.html * platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setContentsToImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ef548e33