diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-08-02 11:56:29 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-08-03 11:01:28 +0000 |
commit | 14a8ac1534bc4314cf6c89aceaaa382f42314dac (patch) | |
tree | a9eb363b39a3c9bcaa160aa89cc354deb543f610 /src/core/content_browser_client_qt.cpp | |
parent | 9a2448a292f6c1d3f134c39be2a01acea3cef982 (diff) |
Fix running webengine without default profile
If default profile is not needed do not create
by accident one in ~QWebEngineProfilePrivate.
Task-number: QTBUG-66068
Change-Id: Ib4131268686178560f3a89dce41e59eb57613e17
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.cpp')
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 59d9a4a84..393b0aee1 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -768,7 +768,7 @@ scoped_refptr<net::URLRequestContextGetter> GetSystemRequestContextOnUIThread() { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); return scoped_refptr<net::URLRequestContextGetter>( - ProfileAdapter::defaultProfileAdapter()->profile()->GetRequestContext()); + ProfileAdapter::createDefaultProfileAdapter()->profile()->GetRequestContext()); } void ContentBrowserClientQt::GetGeolocationRequestContext( |