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

Unified Diff: printing/page_range.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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
Index: printing/page_range.cc
diff --git a/printing/page_range.cc b/printing/page_range.cc
index ffe572d7e0ee45039892f5876df9a198b7ec4a91..057ba3ce08319287350c5f9cdac99c18c8eb4450 100644
--- a/printing/page_range.cc
+++ b/printing/page_range.cc
@@ -4,7 +4,8 @@
#include "printing/page_range.h"
-#include "base/stl_util-inl.h"
+#include <set>
+#include <vector>
namespace printing {
@@ -18,7 +19,7 @@ std::vector<int> PageRange::GetPages(const PageRanges& ranges) {
pages.insert(i);
}
}
- return SetToVector(pages);
+ return std::vector<int>(pages.begin(), pages.end());
}
/* static */

Powered by Google App Engine
This is Rietveld 408576698