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

Unified Diff: net/filter/filter_unittest.cc

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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 | « net/filter/filter.cc ('k') | net/filter/gzip_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter_unittest.cc
diff --git a/net/filter/filter_unittest.cc b/net/filter/filter_unittest.cc
index d10fadc637bb754029d3524bd19e108335f0b7f8..d2b6afcf9ecdeb3db4db8718c8c9c0e1378c8698 100644
--- a/net/filter/filter_unittest.cc
+++ b/net/filter/filter_unittest.cc
@@ -149,9 +149,9 @@ TEST(FilterTest, Gzip) {
// Make sure a series of three pass-through filters copies the data cleanly.
// Regression test for http://crbug.com/418975.
TEST(FilterTest, ThreeFilterChain) {
- scoped_ptr<PassThroughFilter> filter1(new PassThroughFilter);
- scoped_ptr<PassThroughFilter> filter2(new PassThroughFilter);
- scoped_ptr<PassThroughFilter> filter3(new PassThroughFilter);
+ std::unique_ptr<PassThroughFilter> filter1(new PassThroughFilter);
+ std::unique_ptr<PassThroughFilter> filter2(new PassThroughFilter);
+ std::unique_ptr<PassThroughFilter> filter3(new PassThroughFilter);
filter1->InitBuffer(32 * 1024);
filter2->InitBuffer(32 * 1024);
« no previous file with comments | « net/filter/filter.cc ('k') | net/filter/gzip_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698