Index: net/proxy/proxy_script_fetcher_impl.cc |
diff --git a/net/proxy/proxy_script_fetcher_impl.cc b/net/proxy/proxy_script_fetcher_impl.cc |
index 4338a67e653b19940c444851d4624efb33f54e94..2cb17e5e6c675f0c73cadbc03d4d4fe2b3755ee0 100644 |
--- a/net/proxy/proxy_script_fetcher_impl.cc |
+++ b/net/proxy/proxy_script_fetcher_impl.cc |
@@ -250,7 +250,7 @@ void ProxyScriptFetcherImpl::ReadBody(URLRequest* request) { |
// Read as many bytes as are available synchronously. |
while (true) { |
int num_bytes; |
- if (!request->Read(buf_, kBufSize, &num_bytes)) { |
+ if (!request->Read(buf_.get(), kBufSize, &num_bytes)) { |
// Check whether the read failed synchronously. |
if (!request->status().is_io_pending()) |
OnResponseCompleted(request); |