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

Unified Diff: net/filter/sdch_filter_unittest.cc

Issue 1545233002: Convert Pass()→std::move() in //net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/sdch_filter.cc ('k') | net/ftp/ftp_ctrl_response_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_filter_unittest.cc
diff --git a/net/filter/sdch_filter_unittest.cc b/net/filter/sdch_filter_unittest.cc
index 35c7ecc37c7372a4d61e3bf373d916c977954f45..cbb85a80e09fca3b2b149879a920a875661f4057 100644
--- a/net/filter/sdch_filter_unittest.cc
+++ b/net/filter/sdch_filter_unittest.cc
@@ -82,8 +82,7 @@ class SdchFilterTest : public testing::Test {
// Sets both the GURL and the SDCH response for a filter context.
void SetupFilterContextWithGURL(GURL url) {
filter_context_->SetURL(url);
- filter_context_->SetSdchResponse(
- sdch_manager_->GetDictionarySet(url).Pass());
+ filter_context_->SetSdchResponse(sdch_manager_->GetDictionarySet(url));
}
std::string NewSdchCompressedData(const std::string& dictionary) {
@@ -1214,8 +1213,7 @@ TEST_F(SdchFilterTest, UnexpectedDictionary) {
SdchProblemCode problem_code;
scoped_ptr<SdchManager::DictionarySet> hash_set(
- sdch_manager_->GetDictionarySetByHash(
- url, server_hash, &problem_code).Pass());
+ sdch_manager_->GetDictionarySetByHash(url, server_hash, &problem_code));
ASSERT_TRUE(hash_set);
ASSERT_EQ(SDCH_OK, problem_code);
« no previous file with comments | « net/filter/sdch_filter.cc ('k') | net/ftp/ftp_ctrl_response_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698