summaryrefslogtreecommitdiffstats
path: root/src/core/url_request_context_getter_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-25 15:09:31 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-01 12:06:20 +0000
commitab94349cb2fa073e8aec661a797de1cfc3819752 (patch)
treed3525f63aa9b3ff041989d5cf981e0ee8b07d77d /src/core/url_request_context_getter_qt.cpp
parentcb6564b11ea0a81155b59ab178ff75148017a952 (diff)
Simple adaptations to Chromium 55
The simplest adaptations to API and build changes in Chromium 55 Change-Id: I923fa188690a04902492317807f72f006bcab9c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/url_request_context_getter_qt.cpp')
-rw-r--r--src/core/url_request_context_getter_qt.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/url_request_context_getter_qt.cpp b/src/core/url_request_context_getter_qt.cpp
index bf4661102..cabf44ac6 100644
--- a/src/core/url_request_context_getter_qt.cpp
+++ b/src/core/url_request_context_getter_qt.cpp
@@ -173,8 +173,8 @@ void URLRequestContextGetterQt::updateStorageSettings()
m_proxyConfigService =
new ProxyConfigServiceQt(
net::ProxyService::CreateSystemProxyConfigService(
- content::BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
- content::BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE)
+ content::BrowserThread::GetTaskRunnerForThread(BrowserThread::IO),
+ content::BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE)
));
if (m_contextInitialized)
content::BrowserThread::PostTask(content::BrowserThread::IO, FROM_HERE,
@@ -470,7 +470,7 @@ void URLRequestContextGetterQt::generateHttpCache()
net::CACHE_BACKEND_DEFAULT,
base::FilePath(),
m_httpCacheMaxSize,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE)
);
break;
case BrowserContextAdapter::DiskHttpCache:
@@ -480,7 +480,7 @@ void URLRequestContextGetterQt::generateHttpCache()
net::CACHE_BACKEND_DEFAULT,
toFilePath(m_httpCachePath),
m_httpCacheMaxSize,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE)
);
break;
case BrowserContextAdapter::NoCache:
@@ -593,7 +593,7 @@ void URLRequestContextGetterQt::regenerateJobFactory()
scoped_refptr<base::SingleThreadTaskRunner> URLRequestContextGetterQt::GetNetworkTaskRunner() const
{
- return content::BrowserThread::GetMessageLoopProxyForThread(content::BrowserThread::IO);
+ return content::BrowserThread::GetTaskRunnerForThread(content::BrowserThread::IO);
}
} // namespace QtWebEngineCore