Index: third_party/libaddressinput/chromium/cpp/src/retriever.cc |
diff --git a/third_party/libaddressinput/chromium/cpp/src/retriever.cc b/third_party/libaddressinput/chromium/cpp/src/retriever.cc |
index 7e0da10aba2692604a65f6c4fe923d59f7a1aeb8..9287677e76f98647c17fc23cbc5a6fe150015864 100644 |
--- a/third_party/libaddressinput/chromium/cpp/src/retriever.cc |
+++ b/third_party/libaddressinput/chromium/cpp/src/retriever.cc |
@@ -211,8 +211,7 @@ void Retriever::OnDownloaded(bool success, |
if (success) { |
InvokeCallbackForKey(key, success, *downloaded_data); |
AppendTimestamp(downloaded_data.get()); |
- // TODO(estade): storage should take a scoped_ptr. |
- storage_->Put(key, *downloaded_data); |
+ storage_->Put(key, downloaded_data.Pass()); |
} else if (stale_data_it != stale_data_.end()) { |
InvokeCallbackForKey(key, true, stale_data_it->second); |
} else { |