| Index: ios/web/shell/shell_url_request_context_getter.cc
|
| diff --git a/ios/web/shell/shell_url_request_context_getter.cc b/ios/web/shell/shell_url_request_context_getter.cc
|
| index 8cffb68fae6fa84c9860aa7764ee0a0b8d4e6c5c..5d8c660357c7d642b569e7dd97d21db546507846 100644
|
| --- a/ios/web/shell/shell_url_request_context_getter.cc
|
| +++ b/ios/web/shell/shell_url_request_context_getter.cc
|
| @@ -141,8 +141,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
|
|
|
| scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(
|
| new net::URLRequestJobFactoryImpl());
|
| - bool set_protocol =
|
| - job_factory->SetProtocolHandler("data", new net::DataProtocolHandler);
|
| + bool set_protocol = job_factory->SetProtocolHandler(
|
| + "data", make_scoped_ptr(new net::DataProtocolHandler));
|
| DCHECK(set_protocol);
|
|
|
| storage_->set_job_factory(job_factory.release());
|
|
|