summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.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/renderer/render_widget.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/renderer/render_widget.h')
-rw-r--r--chrome/renderer/render_widget.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index 8a501ba..440a7e2 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -116,10 +116,7 @@ class RenderWidget : public IPC::Channel::Listener,
// Paints the given rectangular region of the WebWidget into canvas (a
// shared memory segment returned by AllocPaintBuf on Windows). The caller
// must ensure that the given rect fits within the bounds of the WebWidget.
- void PaintThisRect(const gfx::Rect& rect, skia::PlatformCanvas* canvas);
void PaintRect(const gfx::Rect& rect, skia::PlatformCanvas* canvas);
- void PaintRects(const std::vector<gfx::Rect>& rect,
- skia::PlatformCanvas* canvas);
void DoDeferredPaint();
void DoDeferredScroll();
@@ -224,7 +221,7 @@ class RenderWidget : public IPC::Channel::Listener,
// The smallest bounding rectangle that needs to be re-painted. This is non-
// empty if a paint event is pending.
- std::vector<gfx::Rect> paint_rects_;
+ gfx::Rect paint_rect_;
// The clip rect for the pending scroll event. This is non-empty if a
// scroll event is pending.