Index: cc/output/overlay_strategy_underlay.cc |
diff --git a/cc/output/overlay_strategy_underlay.cc b/cc/output/overlay_strategy_underlay.cc |
index 67cd77d4cd1f2b75f60a7049c259587e1a1b7634..cb3c36db569d66292948d8ec0b2caebfb88ed14a 100644 |
--- a/cc/output/overlay_strategy_underlay.cc |
+++ b/cc/output/overlay_strategy_underlay.cc |
@@ -25,7 +25,7 @@ bool OverlayStrategyUnderlay::TryOverlay( |
// Add our primary surface. |
OverlayCandidateList candidates; |
OverlayCandidate main_image; |
- main_image.display_rect = root_render_pass->output_rect; |
+ main_image.display_rect = gfx::RectF(root_render_pass->output_rect); |
candidates.push_back(main_image); |
// Add the overlay. |