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

Unified Diff: cc/output/overlay_strategy_underlay.cc

Issue 1314943008: cc: Remove implicit conversions from Rect to RectF in src/cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/overlay_strategy_underlay.cc
diff --git a/cc/output/overlay_strategy_underlay.cc b/cc/output/overlay_strategy_underlay.cc
index dd2b90f48146e30bd8de481e21cf8ac63129b783..61bc982262412dbc89a6009be2265a914c53049e 100644
--- a/cc/output/overlay_strategy_underlay.cc
+++ b/cc/output/overlay_strategy_underlay.cc
@@ -28,7 +28,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.

Powered by Google App Engine
This is Rietveld 408576698