Commit b6b56093 authored by oliver@apple.com's avatar oliver@apple.com

Fix gtk build


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 24bae5dd
2009-01-05 Oliver Hunt <oliver@apple.com>
Reviewed by NOBODY (Build fix).
Fix Cairo/Gtk build
* platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBuffer::putImageData):
2009-01-05 Dean Jackson <dino@apple.com>
Reviewed by Darin Adler.
......@@ -179,7 +179,7 @@ void ImageBuffer::putImageData(ImageData* source, const IntRect& sourceRect, con
unsigned srcBytesPerRow = 4 * source->width();
int stride = cairo_image_surface_get_stride(m_data.m_surface);
unsigned char* srcRows = source->data()->data().data() + originy * srcBytesPerRow + originx * 4;
unsigned char* srcRows = source->data()->data() + originy * srcBytesPerRow + originx * 4;
for (int y = 0; y < numRows; ++y) {
unsigned char *row = dataDst + stride * (y + desty);
for (int x = 0; x < numColumns; x++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment