| Index: content/child/url_loader_client_impl.cc
|
| diff --git a/content/child/url_loader_client_impl.cc b/content/child/url_loader_client_impl.cc
|
| index 3d1ecb1a38a54c7b73af2119f45a55b670190e25..dd7e1b502dbc26559c933dd1e0f228b0149ffdb2 100644
|
| --- a/content/child/url_loader_client_impl.cc
|
| +++ b/content/child/url_loader_client_impl.cc
|
| @@ -202,9 +202,10 @@ void URLLoaderClientImpl::StoreAndDispatch(const IPC::Message& message) {
|
| }
|
| }
|
|
|
| -void URLLoaderClientImpl::OnUploadProgress(int64_t current_position,
|
| - int64_t total_size,
|
| - const base::Closure& ack_callback) {
|
| +void URLLoaderClientImpl::OnUploadProgress(
|
| + int64_t current_position,
|
| + int64_t total_size,
|
| + OnUploadProgressCallback ack_callback) {
|
| if (NeedsStoringMessage()) {
|
| StoreAndDispatch(
|
| ResourceMsg_UploadProgress(request_id_, current_position, total_size));
|
| @@ -212,7 +213,7 @@ void URLLoaderClientImpl::OnUploadProgress(int64_t current_position,
|
| resource_dispatcher_->OnUploadProgress(request_id_, current_position,
|
| total_size);
|
| }
|
| - ack_callback.Run();
|
| + std::move(ack_callback).Run();
|
| }
|
|
|
| } // namespace content
|
|
|