Modernize to C++11: Use auto
key to improve code readability and maintainability.
This commit is contained in:
parent
fab02809c6
commit
04f9d35312
22 changed files with 43 additions and 61 deletions
|
@ -22,7 +22,7 @@ net::URLRequestJob* AsarProtocolHandler::MaybeCreateJob(
|
|||
net::NetworkDelegate* network_delegate) const {
|
||||
base::FilePath full_path;
|
||||
net::FileURLToFilePath(request->url(), &full_path);
|
||||
URLRequestAsarJob* job = new URLRequestAsarJob(request, network_delegate);
|
||||
auto* job = new URLRequestAsarJob(request, network_delegate);
|
||||
job->Initialize(file_task_runner_, full_path);
|
||||
return job;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue