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

Unified Diff: cc/layers/layer_impl.cc

Issue 534743002: ScopedPtrVector change back const_iterator typedef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/base/scoped_ptr_vector_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index 2d444a1545717e2fab6c6dc257a41f26fd8300dc..1af7727bbc02cd8287440d3fb2c581c4b6560ec8 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -206,7 +206,7 @@ void LayerImpl::PassCopyRequests(ScopedPtrVector<CopyOutputRequest>* requests) {
return;
bool was_empty = copy_requests_.empty();
- copy_requests_.insert_and_take(copy_requests_.end(), *requests);
+ copy_requests_.insert_and_take(copy_requests_.end(), requests);
requests->clear();
if (was_empty && layer_tree_impl()->IsActiveTree())
@@ -220,7 +220,7 @@ void LayerImpl::TakeCopyRequestsAndTransformToTarget(
DCHECK(layer_tree_impl()->IsActiveTree());
size_t first_inserted_request = requests->size();
- requests->insert_and_take(requests->end(), copy_requests_);
+ requests->insert_and_take(requests->end(), &copy_requests_);
copy_requests_.clear();
for (size_t i = first_inserted_request; i < requests->size(); ++i) {
« no previous file with comments | « cc/base/scoped_ptr_vector_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698