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

Unified Diff: win8/metro_driver/print_document_source.h

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 | « media/midi/midi_manager_win.cc ('k') | win8/metro_driver/print_document_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/print_document_source.h
diff --git a/win8/metro_driver/print_document_source.h b/win8/metro_driver/print_document_source.h
index fed333e3706727e17dd5a51e5b85c24879fcf3be..fbd3c1794d1161fb189904c3767abb08626d196d 100644
--- a/win8/metro_driver/print_document_source.h
+++ b/win8/metro_driver/print_document_source.h
@@ -13,7 +13,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
+#include "base/memory/scoped_vector.h"
#include "base/synchronization/condition_variable.h"
#include "base/synchronization/waitable_event.h"
#include "win8/metro_driver/winrt_utils.h"
@@ -125,7 +125,7 @@ class PrintDocumentSource
// variable in this vector is signaled. This is only filled when we receive
// the page count, so we must wait on page_count_ready_ before accessing
// the content of this vector.
- std::vector<scoped_ptr<base::ConditionVariable> > pages_ready_state_;
+ ScopedVector<base::ConditionVariable> pages_ready_state_;
// This event is signaled when we receive a page count from Chrome. We should
// not receive any page data before the count, so we can check this event
« no previous file with comments | « media/midi/midi_manager_win.cc ('k') | win8/metro_driver/print_document_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698