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

Unified Diff: cc/test/render_pass_test_common.h

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/test/mock_quad_culler.cc ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_common.h
diff --git a/cc/test/render_pass_test_common.h b/cc/test/render_pass_test_common.h
index c565df022d82ed1c3d07fb57d8f01daca239d64b..199a61829b0aa124cb28207e7762cff3814ba4ac 100644
--- a/cc/test/render_pass_test_common.h
+++ b/cc/test/render_pass_test_common.h
@@ -20,10 +20,10 @@ class TestRenderPass : public cc::RenderPass {
}
void AppendQuad(scoped_ptr<cc::DrawQuad> quad) {
- quad_list.append(quad.Pass());
+ quad_list.push_back(quad.Pass());
}
void AppendSharedQuadState(scoped_ptr<cc::SharedQuadState> state) {
- shared_quad_state_list.append(state.Pass());
+ shared_quad_state_list.push_back(state.Pass());
}
void AppendOneOfEveryQuadType(cc::ResourceProvider*);
« no previous file with comments | « cc/test/mock_quad_culler.cc ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698