| Index: cc/quads/render_pass.cc
|
| diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc
|
| index dc79bb8baf4dc013208e2a3541f91a2ecf7e10c0..3737f3c04ccd33b24934619f29d18ea304cbb524 100644
|
| --- a/cc/quads/render_pass.cc
|
| +++ b/cc/quads/render_pass.cc
|
| @@ -92,11 +92,9 @@ scoped_ptr<RenderPass> RenderPass::Copy(RenderPassId new_id) const {
|
| }
|
|
|
| // static
|
| -void RenderPass::CopyAll(const ScopedPtrVector<RenderPass>& in,
|
| - ScopedPtrVector<RenderPass>* out) {
|
| - for (size_t i = 0; i < in.size(); ++i) {
|
| - RenderPass* source = in[i];
|
| -
|
| +void RenderPass::CopyAll(const std::vector<scoped_ptr<RenderPass>>& in,
|
| + std::vector<scoped_ptr<RenderPass>>* out) {
|
| + for (const auto& source : in) {
|
| // Since we can't copy these, it's wrong to use CopyAll in a situation where
|
| // you may have copy_requests present.
|
| DCHECK_EQ(source->copy_requests.size(), 0u);
|
|
|