summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 20:05:08 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 20:05:08 +0000
commit3a70409ea03144e5aeb18596be1fd819fabacbd0 (patch)
tree7b406ea60bfe55b80168689d6a6fcc9419826222 /chrome/browser/renderer_host
parent8425e66e2202fa2f226a5077618219cf307792f5 (diff)
downloadchromium_src-3a70409ea03144e5aeb18596be1fd819fabacbd0.zip
chromium_src-3a70409ea03144e5aeb18596be1fd819fabacbd0.tar.gz
chromium_src-3a70409ea03144e5aeb18596be1fd819fabacbd0.tar.bz2
Linux: fix painting on the NTP and elsewhere.
BUG=29504 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/backing_store_x.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/backing_store_x.cc b/chrome/browser/renderer_host/backing_store_x.cc
index a5e58a4..74ea8ac 100644
--- a/chrome/browser/renderer_host/backing_store_x.cc
+++ b/chrome/browser/renderer_host/backing_store_x.cc
@@ -299,8 +299,8 @@ void BackingStore::PaintRect(base::ProcessHandle process,
0, // mask_y
copy_rect.x(), // dest_x
copy_rect.y(), // dest_y
- width, // width
- height); // height
+ copy_rect.width(), // width
+ copy_rect.height()); // height
// In the case of shared memory, we wait for the composite to complete so that
// we are sure that the X server has finished reading.