Index: content/common/net/url_fetcher_impl.cc |
diff --git a/content/common/net/url_fetcher_impl.cc b/content/common/net/url_fetcher_impl.cc |
index 26d665d171b20f229d747ed0a10bbd35702947ff..e8ccae669412b0feab0e57a06edef6660a28722b 100644 |
--- a/content/common/net/url_fetcher_impl.cc |
+++ b/content/common/net/url_fetcher_impl.cc |
@@ -114,7 +114,7 @@ class URLFetcherImpl::Core |
void CreateTempFile(); |
void DidCreateTempFile(base::PlatformFileError error_code, |
base::PassPlatformFile file_handle, |
- FilePath file_path); |
+ const FilePath& file_path); |
// Record |num_bytes_| response bytes in |core_->buffer_| to the file. |
void WriteBuffer(int num_bytes); |
@@ -345,7 +345,7 @@ void URLFetcherImpl::Core::TempFileWriter::CreateTempFile() { |
void URLFetcherImpl::Core::TempFileWriter::DidCreateTempFile( |
base::PlatformFileError error_code, |
base::PassPlatformFile file_handle, |
- FilePath file_path) { |
+ const FilePath& file_path) { |
DCHECK(core_->io_message_loop_proxy_->BelongsToCurrentThread()); |
if (base::PLATFORM_FILE_OK != error_code) { |