summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/paint_aggregator.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 23:55:13 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 23:55:13 +0000
commitc9f468c1f09eede5e9cd1f23cf55fea3b01c86d1 (patch)
tree4fe4651abee2bc3f44ece20e941362ff343ac39a /chrome/renderer/paint_aggregator.cc
parent17164388ede75bf12fbf017b6dfc5a7fdcc60e75 (diff)
downloadchromium_src-c9f468c1f09eede5e9cd1f23cf55fea3b01c86d1.zip
chromium_src-c9f468c1f09eede5e9cd1f23cf55fea3b01c86d1.tar.gz
chromium_src-c9f468c1f09eede5e9cd1f23cf55fea3b01c86d1.tar.bz2
Reduce kMaxPaintRects to test impact on single-core bot.
TBR=brettw BUG=29589 TEST=none Review URL: http://codereview.chromium.org/479015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/paint_aggregator.cc')
-rw-r--r--chrome/renderer/paint_aggregator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/paint_aggregator.cc b/chrome/renderer/paint_aggregator.cc
index ebe6314..125f7b5 100644
--- a/chrome/renderer/paint_aggregator.cc
+++ b/chrome/renderer/paint_aggregator.cc
@@ -32,7 +32,7 @@ static const float kMaxRedundantPaintToScrollArea = 0.8f;
// start combining paint rects (see CombinePaintRects). This limiting is
// important since the WebKit code associated with deciding what to paint given
// a paint rect can be significant.
-static const size_t kMaxPaintRects = 10;
+static const size_t kMaxPaintRects = 5;
gfx::Rect PaintAggregator::PendingUpdate::GetScrollDamage() const {
// Should only be scrolling in one direction at a time.