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

Unified Diff: cc/layer_tree_host_unittest_context.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/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_context.cc
diff --git a/cc/layer_tree_host_unittest_context.cc b/cc/layer_tree_host_unittest_context.cc
index 4e93ca80967a2017ebbc375b149b7e8d89b882c4..cbd2dd3059a8a9b247b0ae5abcfeb58c46ee1f0b 100644
--- a/cc/layer_tree_host_unittest_context.cc
+++ b/cc/layer_tree_host_unittest_context.cc
@@ -693,15 +693,15 @@ class LayerTreeHostContextTestDontUseLostResources :
pass->AppendOneOfEveryQuadType(resource_provider);
ScopedPtrVector<RenderPass> pass_list;
- pass_list.append(pass_for_quad.PassAs<RenderPass>());
- pass_list.append(pass.PassAs<RenderPass>());
+ pass_list.push_back(pass_for_quad.PassAs<RenderPass>());
+ pass_list.push_back(pass.PassAs<RenderPass>());
// First child is the delegated layer.
DelegatedRendererLayerImpl* delegated_impl =
static_cast<DelegatedRendererLayerImpl*>(
host_impl->rootLayer()->children()[0]);
delegated_impl->setRenderPasses(pass_list);
- EXPECT_TRUE(pass_list.isEmpty());
+ EXPECT_TRUE(pass_list.empty());
color_video_frame_ = VideoFrame::CreateColorFrame(
gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta());
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698