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

Unified Diff: cc/output/direct_renderer.cc

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build after rebase Created 5 years, 8 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/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 81bd7c1a03100f96f58047fcbd9785293a61fc5d..8f71a85a247ba3c269342b1cab67f0ab339319a1 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -153,8 +153,8 @@ void DirectRenderer::DecideRenderPassAllocationsForFrame(
RenderPassTextureSize(render_passes_in_draw_order[i])));
std::vector<RenderPassId> passes_to_delete;
- base::ScopedPtrHashMap<RenderPassId, ScopedResource>::const_iterator
- pass_iter;
+ base::ScopedPtrHashMap<RenderPassId,
+ scoped_ptr<ScopedResource>>::const_iterator pass_iter;
for (pass_iter = render_pass_textures_.begin();
danakj 2015/04/24 17:15:10 nit: we can just "auto pass_iter =" here now.
kcwu 2015/04/27 13:28:03 Done.
pass_iter != render_pass_textures_.end();
++pass_iter) {

Powered by Google App Engine
This is Rietveld 408576698