| Index: net/base/sdch_manager.cc
|
| diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
|
| index 05787f328c1029f08cd6d3e4afe7ef39f5ec5083..27d86ee858f61e581c2197dca5edfe62eb2e2ea5 100644
|
| --- a/net/base/sdch_manager.cc
|
| +++ b/net/base/sdch_manager.cc
|
| @@ -456,15 +456,15 @@ SdchManager::GetDictionarySetByHash(
|
| *problem_code = SDCH_DICTIONARY_HASH_NOT_FOUND;
|
| const auto& it = dictionaries_.find(server_hash);
|
| if (it == dictionaries_.end())
|
| - return result;
|
| + return result.Pass();
|
|
|
| *problem_code = it->second->data.CanUse(target_url);
|
| if (*problem_code != SDCH_OK)
|
| - return result;
|
| + return result.Pass();
|
|
|
| result.reset(new DictionarySet);
|
| result->AddDictionary(it->first, it->second);
|
| - return result;
|
| + return result.Pass();
|
| }
|
|
|
| // static
|
|
|