summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/backing_store.h
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 21:57:00 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 21:57:00 +0000
commitb1829e7e4bd967da34601b1fae5172f7fc457e79 (patch)
tree200f1296993d4be5ac9060ee965ce4e6e26bba71 /chrome/browser/renderer_host/backing_store.h
parentd106b314c82483aa04d2c638f369dbe3ef4ca82d (diff)
downloadchromium_src-b1829e7e4bd967da34601b1fae5172f7fc457e79.zip
chromium_src-b1829e7e4bd967da34601b1fae5172f7fc457e79.tar.gz
chromium_src-b1829e7e4bd967da34601b1fae5172f7fc457e79.tar.bz2
Revert 18090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/backing_store.h')
-rw-r--r--chrome/browser/renderer_host/backing_store.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/chrome/browser/renderer_host/backing_store.h b/chrome/browser/renderer_host/backing_store.h
index 5bb3945..5d817d0 100644
--- a/chrome/browser/renderer_host/backing_store.h
+++ b/chrome/browser/renderer_host/backing_store.h
@@ -63,12 +63,9 @@ class BackingStore {
#endif
// Paints the bitmap from the renderer onto the backing store.
- // bitmap_rect is the rect of the whole bitmap, and paint_rect
- // is a sub-rect of bitmap that we want to draw.
void PaintRect(base::ProcessHandle process,
TransportDIB* bitmap,
- const gfx::Rect& bitmap_rect,
- const gfx::Rect& paint_rect);
+ const gfx::Rect& bitmap_rect);
// Scrolls the given rect in the backing store, replacing the given region
// identified by |bitmap_rect| by the bitmap in the file identified by the
@@ -98,11 +95,8 @@ class BackingStore {
#elif defined(OS_LINUX)
// Paints the bitmap from the renderer onto the backing store without
// using Xrender to composite the pixmaps.
- // bitmap_rect is the rect of the whole bitmap, and paint_rect
- // is a sub-rect of bitmap that we want to draw.
void PaintRectWithoutXrender(TransportDIB* bitmap,
- const gfx::Rect& bitmap_rect,
- const gfx::Rect& paint_rect);
+ const gfx::Rect& bitmap_rect);
// This is the connection to the X server where this backing store will be
// displayed.
@@ -125,10 +119,6 @@ class BackingStore {
void* pixmap_gc_;
#endif
- // Sanity checks on the size of the rects to draw so that we don't allocate
- // enourmous pixmaps.
- static int kMaxBitmapLengthAllowed;
-
DISALLOW_COPY_AND_ASSIGN(BackingStore);
};