Index: net/base/sdch_manager.cc |
diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc |
index b5d07ea08f4e5274d5c286f1e6a7b7ba12edb0a7..09b0aa42a40498339e67a169f906e32acfd3b469 100644 |
--- a/net/base/sdch_manager.cc |
+++ b/net/base/sdch_manager.cc |
@@ -489,7 +489,7 @@ void SdchManager::UrlSafeBase64Encode(const std::string& input, |
std::replace(output->begin(), output->end(), '/', '_'); |
} |
-base::Value* SdchManager::SdchInfoToValue() const { |
+scoped_ptr<base::Value> SdchManager::SdchInfoToValue() const { |
scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
value->SetBoolean("sdch_enabled", sdch_enabled()); |
@@ -528,7 +528,7 @@ base::Value* SdchManager::SdchInfoToValue() const { |
} |
value->Set("blacklisted", entry_list.Pass()); |
- return value.release(); |
+ return value.Pass(); |
} |
} // namespace net |