| Index: third_party/libaddressinput/chromium/chrome_downloader_impl.cc
|
| diff --git a/third_party/libaddressinput/chromium/chrome_downloader_impl.cc b/third_party/libaddressinput/chromium/chrome_downloader_impl.cc
|
| index 4e6c587e45a88f00db574c0bf2d9bf8c2c071f1b..baf9d96a83d66157a82d422758571e1afad9a816 100644
|
| --- a/third_party/libaddressinput/chromium/chrome_downloader_impl.cc
|
| +++ b/third_party/libaddressinput/chromium/chrome_downloader_impl.cc
|
| @@ -11,6 +11,8 @@
|
| #include "net/url_request/url_fetcher.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace autofill {
|
| +
|
| ChromeDownloaderImpl::ChromeDownloaderImpl(net::URLRequestContextGetter* getter)
|
| : getter_(getter) {}
|
|
|
| @@ -39,7 +41,7 @@ void ChromeDownloaderImpl::OnURLFetchComplete(const net::URLFetcher* source) {
|
| bool ok = source->GetResponseCode() == net::HTTP_OK;
|
| scoped_ptr<std::string> data(new std::string());
|
| if (ok)
|
| - source->GetResponseAsString(&*data);
|
| + source->GetResponseAsString(data.get());
|
| (*request->second->callback)(ok, request->second->url, data.Pass());
|
|
|
| delete request->first;
|
| @@ -51,3 +53,5 @@ ChromeDownloaderImpl::Request::Request(const std::string& url,
|
| scoped_ptr<Callback> callback)
|
| : url(url),
|
| callback(callback.Pass()) {}
|
| +
|
| +} // namespace autofill
|
|
|