| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index 7d0af1dbf372a1b68d40e72e6daebc54195623cb..c1ae8972772fbd77291324c79ab339cb55ba85da 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -248,9 +248,9 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
|
| extensions_context->set_job_factory(job_factory());
|
| }
|
|
|
| -scoped_refptr<ChromeURLRequestContext>
|
| +ChromeURLRequestContext*
|
| OffTheRecordProfileIOData::InitializeAppRequestContext(
|
| - scoped_refptr<ChromeURLRequestContext> main_context,
|
| + ChromeURLRequestContext* main_context,
|
| const std::string& app_id) const {
|
| AppRequestContext* context = new AppRequestContext;
|
|
|
| @@ -274,18 +274,18 @@ OffTheRecordProfileIOData::InitializeAppRequestContext(
|
| return context;
|
| }
|
|
|
| -scoped_refptr<ChromeURLRequestContext>
|
| +ChromeURLRequestContext*
|
| OffTheRecordProfileIOData::AcquireMediaRequestContext() const {
|
| NOTREACHED();
|
| return NULL;
|
| }
|
|
|
| -scoped_refptr<ChromeURLRequestContext>
|
| +ChromeURLRequestContext*
|
| OffTheRecordProfileIOData::AcquireIsolatedAppRequestContext(
|
| - scoped_refptr<ChromeURLRequestContext> main_context,
|
| + ChromeURLRequestContext* main_context,
|
| const std::string& app_id) const {
|
| // We create per-app contexts on demand, unlike the others above.
|
| - scoped_refptr<ChromeURLRequestContext> app_request_context =
|
| + ChromeURLRequestContext* app_request_context =
|
| InitializeAppRequestContext(main_context, app_id);
|
| DCHECK(app_request_context);
|
| return app_request_context;
|
|
|