mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
Update URLRequestFetchJob
This commit is contained in:
committed by
Kevin Sawicki
parent
e7f3a25626
commit
53bf82dd7c
@@ -97,8 +97,8 @@ void URLRequestFetchJob::BeforeStartInUI(
|
||||
// We have to create the URLRequestContextGetter on UI thread.
|
||||
url_request_context_getter_ = new brightray::URLRequestContextGetter(
|
||||
this, nullptr, nullptr, base::FilePath(), true,
|
||||
BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO),
|
||||
BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::FILE),
|
||||
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO),
|
||||
BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
|
||||
nullptr, content::URLRequestInterceptorScopedVector());
|
||||
} else {
|
||||
mate::Handle<api::Session> session;
|
||||
|
||||
Reference in New Issue
Block a user