Index: chrome/renderer/render_widget.cc |
=================================================================== |
--- chrome/renderer/render_widget.cc (revision 68349) |
+++ chrome/renderer/render_widget.cc (working copy) |
@@ -505,13 +505,6 @@ |
HISTOGRAM_COUNTS_100("MPArch.RW_PaintRectCount", update.paint_rects.size()); |
- // TODO(darin): Re-enable painting multiple damage rects once the |
- // page-cycler regressions are resolved. See bug 29589. |
- if (update.scroll_rect.IsEmpty()) { |
- update.paint_rects.clear(); |
- update.paint_rects.push_back(bounds); |
- } |
- |
// The scroll damage is just another rectangle to paint and copy. |
copy_rects.swap(update.paint_rects); |
if (!scroll_damage.IsEmpty()) |