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

Unified Diff: cc/output/overlay_strategy_single_on_top.cc

Issue 2693023002: Use SwapBuffersWithBounds on Chromecast (Closed)
Patch Set: Address danakj comments on PS1 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/overlay_strategy_single_on_top.cc
diff --git a/cc/output/overlay_strategy_single_on_top.cc b/cc/output/overlay_strategy_single_on_top.cc
index ecc400972df08c93b2de6383dd46e324f192ee0d..cf9f993cbf29d312b0f961a64edea8ce12474767 100644
--- a/cc/output/overlay_strategy_single_on_top.cc
+++ b/cc/output/overlay_strategy_single_on_top.cc
@@ -19,9 +19,11 @@ OverlayStrategySingleOnTop::OverlayStrategySingleOnTop(
OverlayStrategySingleOnTop::~OverlayStrategySingleOnTop() {}
-bool OverlayStrategySingleOnTop::Attempt(ResourceProvider* resource_provider,
- RenderPass* render_pass,
- OverlayCandidateList* candidate_list) {
+bool OverlayStrategySingleOnTop::Attempt(
+ ResourceProvider* resource_provider,
+ RenderPass* render_pass,
+ OverlayCandidateList* candidate_list,
+ std::vector<gfx::Rect>* content_bounds) {
QuadList* quad_list = &render_pass->quad_list;
for (auto it = quad_list->begin(); it != quad_list->end(); ++it) {
OverlayCandidate candidate;

Powered by Google App Engine
This is Rietveld 408576698