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

Unified Diff: win8/metro_driver/print_document_source.cc

Issue 700723004: Do not use vector<scoped_ptr<>>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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 | « win8/metro_driver/print_document_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/print_document_source.cc
diff --git a/win8/metro_driver/print_document_source.cc b/win8/metro_driver/print_document_source.cc
index 34ce2279dfff838ff20faea05995dd240cedac34..9d2a0c446f4706187136ed4a410ad1dd41c5050f 100644
--- a/win8/metro_driver/print_document_source.cc
+++ b/win8/metro_driver/print_document_source.cc
@@ -393,7 +393,7 @@ void PrintDocumentSource::SetPageCount(size_t page_count) {
pages_ready_state_.resize(page_count);
for (size_t i = 0; i < page_count; ++i)
- pages_ready_state_[i].reset(new base::ConditionVariable(parent_lock_));
+ pages_ready_state_[i] = new base::ConditionVariable(parent_lock_);
}
page_count_ready_.Signal();
}
« no previous file with comments | « win8/metro_driver/print_document_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698