-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125271 Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-05 Reviewed by Simon Fraser. createCroppedImageIfNecessary() crops to the bottom left of the ImageBuffer backing store instead of the top left. In addition, ImageBuffer::draw() draws the entire ImageBuffer's backing store instead of just the relevant portion of it. No new tests are necessary because the existing tests already test this functionality * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::createCroppedImageIfNecessary): Crop to the top left of the backing store (WebCore::ImageBuffer::draw): Draw only the logical portion of the backing store git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0a6174a7