| Index: chrome/browser/renderer_host/backing_store_x.cc
|
| diff --git a/chrome/browser/renderer_host/backing_store_x.cc b/chrome/browser/renderer_host/backing_store_x.cc
|
| index 9fc7e5c838a246cc9b250d0b568fe0f95426490a..d71b391d3d589b54109e846a8d48a101c637cdff 100644
|
| --- a/chrome/browser/renderer_host/backing_store_x.cc
|
| +++ b/chrome/browser/renderer_host/backing_store_x.cc
|
| @@ -430,10 +430,11 @@ void BackingStoreX::ScrollBackingStore(int dx, int dy,
|
| }
|
| }
|
|
|
| -void BackingStoreX::XShowRect(const gfx::Rect& rect, XID target) {
|
| +void BackingStoreX::XShowRect(const gfx::Point &origin,
|
| + const gfx::Rect& rect, XID target) {
|
| XCopyArea(display_, pixmap_, target, static_cast<GC>(pixmap_gc_),
|
| rect.x(), rect.y(), rect.width(), rect.height(),
|
| - rect.x(), rect.y());
|
| + rect.x() + origin.x(), rect.y() + origin.y());
|
| }
|
|
|
| void BackingStoreX::CairoShowRect(const gfx::Rect& rect,
|
|
|