summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-10-06 12:19:11 +0200
committerLiang Qi <liang.qi@qt.io>2016-10-06 12:19:11 +0200
commit7439343d169095a510d122ad7c69646a5946cdce (patch)
tree8540b2bac1e495533585a645e216eaab66b06bd2 /src/core
parent3ecd61aea90cc4b283ffe9409cc10f5fd3476ecf (diff)
parentf8c132ffb7cd32d52bbfe09caa811665a3cb1069 (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: src/3rdparty src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ie4abadb076c51d070cbb05f29b9ebcd9705933ad
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gyp_run.pro2
-rw-r--r--src/core/renderer_host/resource_dispatcher_host_delegate_qt.h2
-rw-r--r--src/core/web_engine_settings.cpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 9f2a44d7b..89b751c4a 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -79,7 +79,7 @@ contains(QT_ARCH, "arm") {
# If the toolchain does not explicitly specify to use NEON instructions
# we use arm_neon_optional for ARMv7 and newer and let chromium decide
# about the mfpu option.
- contains(MFPU, "neon")|contains(MFPU, "neon-vfpv4"): GYP_CONFIG += arm_fpu=\"$$MFPU\" arm_neon=1
+ contains(MFPU, ".*neon.*"): GYP_CONFIG += arm_fpu=\"$$MFPU\" arm_neon=1
else:!lessThan(MARMV, 7): GYP_CONFIG += arm_neon=0 arm_neon_optional=1
else: GYP_CONFIG += arm_fpu=\"$$MFPU\" arm_neon=0 arm_neon_optional=0
} else {
diff --git a/src/core/renderer_host/resource_dispatcher_host_delegate_qt.h b/src/core/renderer_host/resource_dispatcher_host_delegate_qt.h
index a8a65cfb7..6690f9a0f 100644
--- a/src/core/renderer_host/resource_dispatcher_host_delegate_qt.h
+++ b/src/core/renderer_host/resource_dispatcher_host_delegate_qt.h
@@ -76,7 +76,7 @@ private:
int m_renderProcessId;
int m_renderFrameId;
- net::AuthChallengeInfo *m_authInfo;
+ scoped_refptr<net::AuthChallengeInfo> m_authInfo;
// The request that wants login data.
// Must only be accessed on the IO thread.
diff --git a/src/core/web_engine_settings.cpp b/src/core/web_engine_settings.cpp
index 8e284c9d6..c17177745 100644
--- a/src/core/web_engine_settings.cpp
+++ b/src/core/web_engine_settings.cpp
@@ -306,6 +306,7 @@ void WebEngineSettings::applySettingsToWebPreferences(content::WebPreferences *p
prefs->javascript_can_access_clipboard = testAttribute(JavascriptCanAccessClipboard);
prefs->tabs_to_links = testAttribute(LinksIncludedInFocusChain);
prefs->local_storage_enabled = testAttribute(LocalStorageEnabled);
+ prefs->databases_enabled = testAttribute(LocalStorageEnabled);
prefs->allow_universal_access_from_file_urls = testAttribute(LocalContentCanAccessRemoteUrls);
prefs->xss_auditor_enabled = testAttribute(XSSAuditingEnabled);
prefs->spatial_navigation_enabled = testAttribute(SpatialNavigationEnabled);