summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.h
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-15 14:29:21 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-15 14:29:21 +0000
commit2d5d09d5aa7eeeb0a975eedd961c28aa03e66deb (patch)
tree31cf9b8fce3adf96e31799d5466190d84b54b9db /chrome/renderer/render_widget.h
parent68c93e0fee99a1b57a1a403dad9fd86c07b061cd (diff)
downloadchromium_src-2d5d09d5aa7eeeb0a975eedd961c28aa03e66deb.zip
chromium_src-2d5d09d5aa7eeeb0a975eedd961c28aa03e66deb.tar.gz
chromium_src-2d5d09d5aa7eeeb0a975eedd961c28aa03e66deb.tar.bz2
Reverting Rev 18383 since it brings down the performance of single core page cyclers too much...
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18385 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.