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

Unified Diff: content/common/cc_messages.cc

Issue 11418108: cc: Make the ScopedPtrVector and ScopedPtrDeque containers act like STL vector and deque. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android!! Created 7 years, 11 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 | « cc/tree_synchronizer.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index 90ca25091baf7b7564757cb1687d75c60fc15011..4313e1a1175ad8c69ae2bb95d18f0803ea17706b 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -408,7 +408,7 @@ bool ParamTraits<cc::RenderPass>::Read(
scoped_ptr<cc::SharedQuadState> state(cc::SharedQuadState::Create());
if (!ReadParam(m, iter, state.get()))
return false;
- p->shared_quad_state_list.append(state.Pass());
+ p->shared_quad_state_list.push_back(state.Pass());
}
size_t last_shared_quad_state_index = 0;
@@ -465,7 +465,7 @@ bool ParamTraits<cc::RenderPass>::Read(
draw_quad->shared_quad_state =
p->shared_quad_state_list[shared_quad_state_index];
- p->quad_list.append(draw_quad.Pass());
+ p->quad_list.push_back(draw_quad.Pass());
}
return true;
@@ -637,7 +637,7 @@ bool ParamTraits<cc::DelegatedFrameData>::Read(const Message* m,
scoped_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create();
if (!ReadParam(m, iter, render_pass.get()))
return false;
- p->render_pass_list.append(render_pass.Pass());
+ p->render_pass_list.push_back(render_pass.Pass());
}
return true;
}
« no previous file with comments | « cc/tree_synchronizer.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698