| 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 a79a8fc4aefa3ba047860a92e7f1c9e748c982e8..c39a8d2987a77b2ebc4ab50171b078319284a74e 100644
|
| --- a/chrome/browser/renderer_host/backing_store_x.cc
|
| +++ b/chrome/browser/renderer_host/backing_store_x.cc
|
| @@ -436,9 +436,14 @@ void BackingStoreX::ScrollBackingStore(int dx, int dy,
|
| }
|
|
|
| void BackingStoreX::XShowRect(const gfx::Rect& rect, XID target) {
|
| + XShowRect(gfx::Point(0, 0), rect, 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,
|
|
|