Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: cc/output/direct_renderer.cc

Issue 2693023002: Use SwapBuffersWithBounds on Chromecast (Closed)
Patch Set: Clarify OutputSurfaceFrame, add enclosing/enclosed tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index d74f11dc574b62ccd6977e5b142fe1133393d816..c0591962510dce06fc2eb7f5db77123d85d2d395 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -308,7 +308,8 @@ void DirectRenderer::DrawFrame(RenderPassList* render_passes_in_draw_order,
resource_provider_, root_render_pass, render_pass_filters_,
render_pass_background_filters_, &current_frame()->overlay_list,
&current_frame()->ca_layer_overlay_list,
- &current_frame()->root_damage_rect);
+ &current_frame()->root_damage_rect,
+ &current_frame()->root_content_bounds);
// We can skip all drawing if the damage rect is now empty.
bool skip_drawing_root_render_pass =

Powered by Google App Engine
This is Rietveld 408576698