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

Unified Diff: cc/output/overlay_processor.cc

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 years, 1 month 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_processor.cc
diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc
index a97623a4c2fa4917e36ea62440a6a6dd0dda4f4a..494abff3bd9c6b711f91edeef79c7e7cc2bb5950 100644
--- a/cc/output/overlay_processor.cc
+++ b/cc/output/overlay_processor.cc
@@ -29,7 +29,7 @@ void OverlayProcessor::ProcessForOverlays(ResourceProvider* resource_provider,
RenderPassList* render_passes,
OverlayCandidateList* candidates,
gfx::Rect* damage_rect) {
- for (auto strategy : strategies_) {
+ for (const scoped_ptr<Strategy>& strategy : strategies_) {
danakj 2015/11/17 01:12:17 auto
vmpstr 2015/11/17 23:26:24 Done.
if (strategy->Attempt(resource_provider, render_passes, candidates,
damage_rect)) {
return;

Powered by Google App Engine
This is Rietveld 408576698