Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index dc1d1c86323b7b529516cebcd4eede6f85e39a3d..4d630a1b71f27b8349de886d1b7897bcc80a2b4d 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -1656,7 +1656,7 @@ bool GLRenderer::SwapBuffers() { |
if (capabilities_.using_partial_swap) { |
// If supported, we can save significant bandwidth by only swapping the |
// damaged/scissored region (clamped to the viewport) |
- swap_buffer_rect_.Intersect(gfx::Rect(gfx::Point(), ViewportSize())); |
+ swap_buffer_rect_.Intersect(gfx::Rect(ViewportSize())); |
int flipped_y_pos_of_rect_bottom = |
ViewportHeight() - swap_buffer_rect_.y() - swap_buffer_rect_.height(); |
output_surface_->PostSubBuffer(gfx::Rect(swap_buffer_rect_.x(), |