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

Unified Diff: cc/output/overlay_strategy_fullscreen.cc

Issue 2280823002: cc: Remove right quad for fullscreen overlays. (Closed)
Patch Set: Add unit test. Created 4 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
« no previous file with comments | « no previous file | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_strategy_fullscreen.cc
diff --git a/cc/output/overlay_strategy_fullscreen.cc b/cc/output/overlay_strategy_fullscreen.cc
index b848bb6cd8f348866e9281fed8eb3021d00eada1..7cc8b7d9082ea1ad9bfd71568fb046d83ce5c746 100644
--- a/cc/output/overlay_strategy_fullscreen.cc
+++ b/cc/output/overlay_strategy_fullscreen.cc
@@ -51,7 +51,7 @@ bool OverlayStrategyFullscreen::Attempt(ResourceProvider* resource_provider,
candidate.plane_z_order = 1;
candidate.overlay_handled = true;
candidate_list->push_back(candidate);
- quad_list->EraseAndInvalidateAllPointers(quad_list->begin());
+ quad_list->EraseAndInvalidateAllPointers(front);
return true;
}
« no previous file with comments | « no previous file | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698