From c1868c9a48caf9c12d9f6d25238f8734aab270c6a014151e213d1bf92776ed11 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 28 Jun 2019 14:32:13 +0000 Subject: [PATCH] Accepting request 712126 from KDE:Qt:5.13 - Update to 5.13.0: * New bugfix release * No changelog available * For more details about Qt 5.13 please see: * http://code.qt.io/cgit/qt/qtwebengine.git/plain/dist/changes-5.13.0/?h=5.13 - Replace open coded macro for parallel build limit by the one from the memory-constraints package - Update to 5.13.0-rc: * New bugfix release * No changelog available - Fix system_vpx bcond - Update to 5.13.0-beta2: * New bugfix release * No changelog available - Refresh patches: * harmony-fix.diff * chromium-non-void-return.patch (sigh, again) - Fix system_vpx bcond - Disable using the system ICU on Leap < 16, too old - Update to 5.13.0-beta1: * New feature release * For more details about Qt 5.13 please see: * http://code.qt.io/cgit/qt/qtwebengine.git/plain/dist/changes-5.13.0/?h=5.13 - Refresh patches: * disable-gpu-when-using-nouveau-boo-1005323.diff OBS-URL: https://build.opensuse.org/request/show/712126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtwebengine?expand=0&rev=46 --- chromium-non-void-return.patch | 1260 ++++++++++++++--- ...le-gpu-when-using-nouveau-boo-1005323.diff | 30 +- harmony-fix.diff | 24 +- libqt5-qtwebengine.changes | 54 + libqt5-qtwebengine.spec | 61 +- qtwebengine-everywhere-src-5.12.3.tar.xz | 3 - qtwebengine-everywhere-src-5.13.0.tar.xz | 3 + reproducible.patch | 37 - 8 files changed, 1186 insertions(+), 286 deletions(-) delete mode 100644 qtwebengine-everywhere-src-5.12.3.tar.xz create mode 100644 qtwebengine-everywhere-src-5.13.0.tar.xz delete mode 100644 reproducible.patch diff --git a/chromium-non-void-return.patch b/chromium-non-void-return.patch index 2debe8d..8b5cb86 100644 --- a/chromium-non-void-return.patch +++ b/chromium-non-void-return.patch @@ -1,8 +1,8 @@ -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc -@@ -400,6 +400,8 @@ static VAEntrypoint GetVaEntryPoint(Vaap +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc +@@ -418,6 +418,8 @@ static VAEntrypoint GetVaEntryPoint(Vaap case VaapiWrapper::kCodecModeMax: NOTREACHED(); return VAEntrypointVLD; @@ -11,10 +11,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/gpu/vaapi/v } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/cc/input/snap_fling_controller.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/cc/input/snap_fling_controller.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/cc/input/snap_fling_controller.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/cc/input/snap_fling_controller.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/cc/input/snap_fling_controller.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/cc/input/snap_fling_controller.cc @@ -26,6 +26,8 @@ bool SnapFlingController::FilterEventFor case GestureScrollType::kEnd: { return state_ == State::kActive || state_ == State::kFinished; @@ -24,11 +24,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/cc/input/snap_fli } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc -@@ -48,6 +48,8 @@ mojom::LifecycleUnitVisibility GetLifecy +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/chrome/browser/ui/webui/discards/discards_ui.cc +@@ -56,6 +56,8 @@ mojom::LifecycleUnitVisibility GetLifecy return mojom::LifecycleUnitVisibility::OCCLUDED; case content::Visibility::VISIBLE: return mojom::LifecycleUnitVisibility::VISIBLE; @@ -37,11 +37,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/chrome/browser/ui } #if defined(COMPILER_MSVC) NOTREACHED(); -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc -@@ -285,6 +285,7 @@ PopupType AutofillManager::GetPopupType( +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/autofill/core/browser/autofill_manager.cc +@@ -276,6 +276,7 @@ PopupType AutofillManager::GetPopupType( default: NOTREACHED(); @@ -49,24 +49,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/autofi } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/cast_channel/cast_message_util.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/cast_channel/cast_message_util.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/cast_channel/cast_message_util.cc -@@ -368,6 +368,8 @@ const char* GetAppAvailabilityResultToSt - return "unavailable"; - case GetAppAvailabilityResult::kUnknown: - return "unknown"; -+ default: -+ return "unknown"; - } - } - -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc -=================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc -@@ -337,6 +337,8 @@ PageloadMetrics_ConnectionType ProtoConn +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/data_reduction_proxy_util.cc +@@ -322,6 +322,8 @@ PageloadMetrics_ConnectionType ProtoConn return PageloadMetrics_ConnectionType_CONNECTION_NONE; case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH: return PageloadMetrics_ConnectionType_CONNECTION_BLUETOOTH; @@ -75,19 +62,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/data_r } } -@@ -351,6 +353,8 @@ RequestInfo_Protocol ProtoRequestInfoPro - return RequestInfo_Protocol_QUIC; - case DataReductionProxyData::RequestInfo::Protocol::UNKNOWN: - return RequestInfo_Protocol_UNKNOWN; -+ default: -+ return RequestInfo_Protocol_UNKNOWN; - } - } - -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_quota_client.cc @@ -98,6 +98,8 @@ storage::QuotaClient::ID CacheStorageQuo return kServiceWorkerCache; case CacheStorageOwner::kBackgroundFetch: @@ -97,10 +75,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/browser/c } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/capture/video/video_capture_device_descriptor.cc @@ -94,6 +94,8 @@ const char* VideoCaptureDeviceDescriptor return "Virtual Device"; case VideoCaptureApi::UNKNOWN: @@ -110,11 +88,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/capture/vid } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc -@@ -1342,6 +1342,8 @@ base::TimeDelta NetworkQualityEstimator: +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/nqe/network_quality_estimator.cc +@@ -1162,6 +1162,8 @@ base::TimeDelta NetworkQualityEstimator: case nqe::internal::OBSERVATION_CATEGORY_COUNT: NOTREACHED(); return base::TimeDelta(); @@ -123,10 +101,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/net/nqe/network_q } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/audio/public/cpp/audio_system_to_service_adapter.cc @@ -66,6 +66,8 @@ const char* GetTraceEvent(Action action) return "AudioSystemToServiceAdapter::GetAssociatedOutputDeviceID"; case kGetInputDeviceInfo: @@ -136,11 +114,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/audio/pu } NOTREACHED(); } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc -@@ -800,6 +800,8 @@ bool CrossOriginReadBlocking::ResponseAn +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/cross_origin_read_blocking.cc +@@ -861,6 +861,8 @@ bool CrossOriginReadBlocking::ResponseAn return sniffers_.empty() && !found_blockable_content_; case kBlock: return false; @@ -149,7 +127,7 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/network/ } } -@@ -811,6 +813,8 @@ bool CrossOriginReadBlocking::ResponseAn +@@ -872,6 +874,8 @@ bool CrossOriginReadBlocking::ResponseAn return sniffers_.empty() && found_blockable_content_; case kBlock: return true; @@ -158,24 +136,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/network/ } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc -@@ -1191,6 +1191,8 @@ AXTextPosition AXLayoutObject::GetTextPo - return kAXTextPositionSubscript; - case EVerticalAlign::kSuper: - return kAXTextPositionSuperscript; -+ default: -+ return AXNodeObject::GetTextPosition(); - } - } - -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc -=================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc -@@ -144,6 +144,7 @@ String AudioParamHandler::GetParamName() +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_param.cc +@@ -146,6 +146,7 @@ String AudioParamHandler::GetParamName() return custom_param_name_; default: NOTREACHED(); @@ -183,11 +148,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc -@@ -1291,6 +1291,8 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/accessibility/platform/ax_platform_node_auralinux.cc +@@ -1863,6 +1863,8 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR case ax::mojom::Role::kPresentational: case ax::mojom::Role::kUnknown: return ATK_ROLE_REDUNDANT_OBJECT; @@ -196,11 +161,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/ui/accessibility/ } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc -@@ -86,6 +86,8 @@ std::string VoteTypeToString( +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/password_manager/core/browser/browser_save_password_progress_logger.cc +@@ -74,6 +74,8 @@ std::string VoteTypeToString( return "HTML classifier"; case AutofillUploadContents::Field::FIRST_USE: return "First use"; @@ -209,24 +174,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/passwo } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/previews/content/previews_hints.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/previews/core/previews_black_list.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/previews/content/previews_hints.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/previews/content/previews_hints.cc -@@ -94,6 +94,8 @@ ConvertProtoOptimizationTypeToPreviewsOp - return PreviewsType::NOSCRIPT; - case optimization_guide::proto::RESOURCE_LOADING: - return PreviewsType::RESOURCE_LOADING_HINTS; -+ default: -+ return base::nullopt; - } - } - -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/previews/core/previews_black_list.cc -=================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/components/previews/core/previews_black_list.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/previews/core/previews_black_list.cc -@@ -33,6 +33,9 @@ PreviewsEligibilityReason BlacklistReaso +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/previews/core/previews_black_list.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/previews/core/previews_black_list.cc +@@ -34,6 +34,9 @@ PreviewsEligibilityReason BlacklistReaso return PreviewsEligibilityReason::ALLOWED; case blacklist::BlacklistReason::kAllowed: return PreviewsEligibilityReason::ALLOWED; @@ -236,23 +188,23 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/components/previe } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc -@@ -624,6 +624,7 @@ bool FrameTreeNode::UpdateUserActivation - return NotifyUserActivation(); +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/frame_host/frame_tree_node.cc +@@ -608,6 +608,7 @@ bool FrameTreeNode::UpdateUserActivation + return ClearUserActivation(); } NOTREACHED() << "Invalid update_type."; + return false; } void FrameTreeNode::OnSetHasReceivedUserGestureBeforeNavigation(bool value) { -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc -@@ -76,6 +76,8 @@ std::unique_ptr Inpu +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/input/input_event_prediction.cc +@@ -108,6 +108,8 @@ std::unique_ptr Inpu return std::make_unique(); case PredictorType::kKalman: return std::make_unique(); @@ -261,11 +213,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/ } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc -@@ -112,6 +112,8 @@ static const char* SerializeDirection( +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/webrtc/peer_connection_tracker.cc +@@ -118,6 +118,8 @@ static const char* SerializeDirection( return "'recvonly'"; case webrtc::RtpTransceiverDirection::kInactive: return "'inactive'"; @@ -274,11 +226,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/content/renderer/ } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc -@@ -397,6 +397,8 @@ bool BluetoothRemoteGattCharacteristic:: +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/device/bluetooth/bluetooth_remote_gatt_characteristic.cc +@@ -396,6 +396,8 @@ bool BluetoothRemoteGattCharacteristic:: return hasNotify; case NotificationType::kIndication: return hasIndicate; @@ -287,10 +239,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/device/bluetooth/ } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/blink/watch_time_reporter.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/blink/watch_time_reporter.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/media/blink/watch_time_reporter.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/blink/watch_time_reporter.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/media/blink/watch_time_reporter.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/blink/watch_time_reporter.cc @@ -571,6 +571,8 @@ WatchTimeKey WatchTimeReporter::GetDispl return DISPLAY_TYPE_KEY(DisplayFullscreen); case DisplayType::kPictureInPicture: @@ -300,23 +252,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/media/blink/watch } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/ui/public/cpp/gpu/command_buffer_metrics.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/services/ui/public/cpp/gpu/command_buffer_metrics.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/services/ui/public/cpp/gpu/command_buffer_metrics.cc -@@ -86,6 +86,8 @@ std::string ContextTypeToString(ContextT - return "Unknown"; - case ContextType::FOR_TESTING: - return "ForTesting"; -+ default: -+ return "Unknown"; - } - } - -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc -=================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/css/style_environment_variables.cc @@ -67,6 +67,7 @@ const AtomicString StyleEnvironmentVaria } @@ -325,10 +264,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } // static -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/html/media/media_controls.cc @@ -36,6 +36,9 @@ AtomicString MediaControls::GetSizingCSS return kMediaControlsSizingMediumCSSClass; case MediaControlsSizingClass::kLarge: @@ -339,10 +278,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } NOTREACHED(); -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/cookie_store/cookie_change_event.cc @@ -53,6 +53,9 @@ String ToCookieListItemSameSite(network: return "lax"; case network::mojom::CookieSameSite::NO_RESTRICTION: @@ -353,10 +292,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } NOTREACHED(); -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/heap/heap_stats_collector.h @@ -94,6 +94,8 @@ class PLATFORM_EXPORT ThreadHeapStatsCol return "BlinkGC.VisitPersistents"; case Id::kVisitStackRoots: @@ -366,11 +305,11 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc -@@ -688,6 +688,9 @@ PageSchedulerImpl::PageLifecycleStateTra +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc +@@ -679,6 +679,9 @@ PageSchedulerImpl::PageLifecycleStateTra NOTREACHED(); return base::nullopt; } @@ -380,10 +319,10 @@ Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/blink } } -Index: qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h =================================================================== ---- qtwebengine-everywhere-src-5.12.3.orig/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h -+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/base/mojo/clipboard_struct_traits.h @@ -20,6 +20,9 @@ struct EnumTraits::DECODE_ERROR: + return "decode_error"; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/public/cpp/cors/cors.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/network/public/cpp/cors/cors.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/public/cpp/cors/cors.cc +@@ -539,6 +539,8 @@ bool IsCorsSameOriginResponseType(mojom: + case mojom::FetchResponseType::kOpaque: + case mojom::FetchResponseType::kOpaqueRedirect: + return false; ++ default: ++ __builtin_abort (); + } + } + +@@ -552,6 +554,8 @@ bool IsCorsCrossOriginResponseType(mojom + case mojom::FetchResponseType::kOpaque: + case mojom::FetchResponseType::kOpaqueRedirect: + return true; ++ default: ++ __builtin_abort (); + } + } + +@@ -569,6 +573,8 @@ bool CalculateCredentialsFlag(mojom::Fet + return response_tainting == network::mojom::FetchResponseType::kBasic; + case network::mojom::FetchCredentialsMode::kInclude: + return true; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/public/cpp/host_resolver_mojom_traits.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/network/public/cpp/host_resolver_mojom_traits.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/public/cpp/host_resolver_mojom_traits.cc +@@ -40,6 +40,8 @@ base::Optional FromTristate(DnsCon + return true; + case DnsConfigOverrides::Tristate::TRISTATE_FALSE: + return false; ++ default: ++ __builtin_abort (); + } + } + +@@ -232,6 +234,8 @@ DnsQueryType EnumTraitsGetNormalizedCurrentCycleProgress(); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_layout_object.cc +@@ -1237,6 +1237,8 @@ ax::mojom::TextPosition AXLayoutObject:: + return ax::mojom::TextPosition::kSubscript; + case EVerticalAlign::kSuper: + return ax::mojom::TextPosition::kSuperscript; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_position.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_position.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/ax_position.cc +@@ -768,6 +768,8 @@ const AXObject* AXPosition::FindNeighbor + } + return nullptr; + } ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.cc +@@ -351,6 +351,8 @@ const String BackgroundFetchRegistration + return "failure"; + case mojom::BackgroundFetchResult::UNSET: + return ""; ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +@@ -371,6 +373,8 @@ const String BackgroundFetchRegistration + return "quota-exceeded"; + case mojom::BackgroundFetchFailureReason::DOWNLOAD_TOTAL_EXCEEDED: + return "download-total-exceeded"; ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/storage/cached_storage_area.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/storage/cached_storage_area.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/storage/cached_storage_area.cc +@@ -643,6 +643,8 @@ Vector CachedStorageArea::Strin + input.length() * sizeof(UChar)); + return result; + } ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/stream/media_stream_audio_processor_options.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/renderer/media/stream/media_stream_audio_processor_options.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/stream/media_stream_audio_processor_options.cc +@@ -98,6 +98,8 @@ AudioProcessingProperties::ToAudioProces + return media::EchoCancellationType::kAec3; + case EchoCancellationType::kEchoCancellationSystem: + return media::EchoCancellationType::kSystemAec; ++ default: ++ __builtin_abort (); + } + }; + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/vp8/temporal_layers_checker.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/vp8/temporal_layers_checker.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/vp8/temporal_layers_checker.cc +@@ -26,6 +26,8 @@ TemporalLayersChecker::CreateTemporalLay + case Vp8TemporalLayersType::kBitrateDynamic: + // Conference mode temporal layering for screen content in base stream. + return absl::make_unique(num_temporal_layers); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/base/task/common/operations_controller.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/base/task/common/operations_controller.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/base/task/common/operations_controller.cc +@@ -52,6 +52,8 @@ OperationsController::OperationToken Ope + case State::kShuttingDown: + DecrementBy(1); + return OperationToken(nullptr); ++ default: ++ __builtin_abort (); + } + } + +@@ -101,4 +103,4 @@ void OperationsController::DecrementBy(u + } + + } // namespace internal +-} // namespace base +\ No newline at end of file ++} // namespace base +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/viz/common/gl_scaler.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/viz/common/gl_scaler.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/viz/common/gl_scaler.cc +@@ -692,6 +692,8 @@ const char* GLScaler::GetShaderName(GLSc + CASE_RETURN_SHADER_STR(PLANAR_CHANNEL_3); + CASE_RETURN_SHADER_STR(I422_NV61_MRT); + CASE_RETURN_SHADER_STR(DEINTERLEAVE_PAIRWISE_MRT); ++ default: ++ __builtin_abort (); + #undef CASE_RETURN_SHADER_STR + } + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc +@@ -1305,6 +1305,8 @@ GrContext* SkiaRenderer::GetGrContext() + return context_provider_->GrContext(); + case DrawMode::SKPRECORD: + return nullptr; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_cache_entry_handler.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_cache_entry_handler.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_cache_entry_handler.cc +@@ -162,6 +162,8 @@ CacheStorageCacheEntryHandler::CreateCac + case CacheStorageOwner::kBackgroundFetch: + return std::make_unique( + std::move(blob_context)); ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_histogram_utils.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_histogram_utils.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/cache_storage/cache_storage_histogram_utils.cc +@@ -33,6 +33,8 @@ base::StringPiece UMAToName(CacheStorage + RETURN_LITERAL_STRING_PIECE("QueueDuration2"); + case CacheStorageSchedulerUMA::kQueueLength: + RETURN_LITERAL_STRING_PIECE("QueueLength"); ++ default: ++ __builtin_abort (); + } + } + +@@ -44,6 +46,8 @@ base::StringPiece ClientToName(CacheStor + RETURN_LITERAL_STRING_PIECE("Cache"); + case CacheStorageSchedulerClient::kStorage: + RETURN_LITERAL_STRING_PIECE("CacheStorage"); ++ default: ++ __builtin_abort (); + } + } + +@@ -88,6 +92,8 @@ base::StringPiece OpToName(CacheStorageS + RETURN_LITERAL_STRING_PIECE("WriteIndex"); + case CacheStorageSchedulerOp::kWriteSideData: + RETURN_LITERAL_STRING_PIECE("WriteSideData"); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/media/hardware_key_media_controller.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/browser/media/hardware_key_media_controller.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/browser/media/hardware_key_media_controller.cc +@@ -182,6 +182,8 @@ HardwareKeyMediaController::MediaSession + case MediaSessionAction::kSeekForward: + case MediaSessionAction::kSkipAd: + return base::nullopt; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/common/navigation_params.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/common/navigation_params.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/common/navigation_params.cc +@@ -47,6 +47,8 @@ bool IsNavigationDownloadAllowed(Navigat case NavigationDownloadPolicy::kAllowOpenerCrossOrigin: case NavigationDownloadPolicy::kAllowOpenerCrossOriginNoGesture: return true; + default: -+ __builtin_unreachable(); ++ __builtin_abort (); } } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/stream/media_stream_constraints_util_audio.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/content/renderer/media/stream/media_stream_constraints_util_audio.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/content/renderer/media/stream/media_stream_constraints_util_audio.cc +@@ -417,6 +417,8 @@ class EchoCancellationContainer { + return Score::EcModeScore::kAec3; + case EchoCancellationType::kEchoCancellationAec2: + return Score::EcModeScore::kAec2; ++ default: ++ __builtin_abort (); + } + } + +@@ -968,6 +970,8 @@ class ProcessingBasedContainer { + return DoubleRangeSet::FromValue(allowed_latency); + case ProcessingType::kUnprocessed: + return DoubleRangeSet::FromValue(allowed_latency); ++ default: ++ __builtin_abort (); + } + } + +@@ -988,6 +992,8 @@ class ProcessingBasedContainer { + return 2; + case ProcessingType::kApmProcessed: + return use_processing_by_default ? 3 : 1; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/google_apis/gaia/google_service_auth_error.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/google_apis/gaia/google_service_auth_error.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/google_apis/gaia/google_service_auth_error.cc +@@ -29,6 +29,8 @@ const char* InvalidCredentialsReasonToSt + case InvalidGaiaCredentialsReason::NUM_REASONS: + NOTREACHED(); + return ""; ++ default: ++ __builtin_abort (); + } + } + } // namespace +@@ -238,6 +240,8 @@ std::string GoogleServiceAuthError::ToSt + case NUM_STATES: + NOTREACHED(); + return std::string(); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/audio/audio_input_device.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/media/audio/audio_input_device.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/audio/audio_input_device.cc +@@ -52,6 +52,8 @@ base::ThreadPriority ThreadPriorityFromP + return base::ThreadPriority::REALTIME_AUDIO; + case AudioInputDevice::Purpose::kLoopback: + return base::ThreadPriority::NORMAL; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/base/supported_types.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/media/base/supported_types.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/media/base/supported_types.cc +@@ -162,6 +162,8 @@ bool IsAudioCodecProprietary(AudioCodec + case media::kCodecPCM_ALAW: + case media::kUnknownAudioCodec: + return false; ++ default: ++ __builtin_abort (); + } + } + +@@ -220,6 +222,8 @@ bool IsVideoCodecProprietary(VideoCodec + case kCodecVP9: + case kCodecAV1: + return false; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/dns_util.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/dns/dns_util.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/dns_util.cc +@@ -246,6 +246,8 @@ uint16_t DnsQueryTypeToQtype(DnsQueryTyp + return dns_protocol::kTypePTR; + case DnsQueryType::SRV: + return dns_protocol::kTypeSRV; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/host_resolver_mdns_listener_impl.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/dns/host_resolver_mdns_listener_impl.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/host_resolver_mdns_listener_impl.cc +@@ -24,6 +24,8 @@ HostResolver::MdnsListener::Delegate::Up + return HostResolver::MdnsListener::Delegate::UpdateType::CHANGED; + case net::MDnsListener::RECORD_REMOVED: + return HostResolver::MdnsListener::Delegate::UpdateType::REMOVED; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/host_resolver_mdns_task.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/dns/host_resolver_mdns_task.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/dns/host_resolver_mdns_task.cc +@@ -218,6 +218,8 @@ HostCache::Entry HostResolverMdnsTask::P + case DnsQueryType::SRV: + return ParseHostnameResult(parsed->rdata()->target(), + parsed->rdata()->port()); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/third_party/quic/core/qpack/qpack_instruction_decoder.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/third_party/quic/core/qpack/qpack_instruction_decoder.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/third_party/quic/core/qpack/qpack_instruction_decoder.cc +@@ -169,6 +169,8 @@ size_t QpackInstructionDecoder::DoVarint + case http2::DecodeStatus::kDecodeError: + OnError("Encoded integer too large."); + return bytes_consumed; ++ default: ++ __builtin_abort (); + } + } + +@@ -194,6 +196,8 @@ size_t QpackInstructionDecoder::DoVarint + case http2::DecodeStatus::kDecodeError: + OnError("Encoded integer too large."); + return bytes_consumed; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/third_party/quic/core/tls_handshaker.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/net/third_party/quic/core/tls_handshaker.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/net/third_party/quic/core/tls_handshaker.cc +@@ -111,6 +111,8 @@ EncryptionLevel TlsHandshaker::QuicEncry + return ENCRYPTION_INITIAL; + case ssl_encryption_application: + return ENCRYPTION_FORWARD_SECURE; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/media_session/audio_focus_manager.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/media_session/audio_focus_manager.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/media_session/audio_focus_manager.cc +@@ -520,6 +520,8 @@ bool AudioFocusManager::ShouldSessionBeS + case mojom::EnforcementMode::kDefault: + NOTIMPLEMENTED(); + return false; ++ default: ++ __builtin_abort (); + } + } + +@@ -537,6 +539,8 @@ bool AudioFocusManager::ShouldSessionBeD + case mojom::EnforcementMode::kDefault: + NOTIMPLEMENTED(); + return false; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/mdns_responder.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/network/mdns_responder.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/mdns_responder.cc +@@ -439,6 +439,8 @@ class MdnsResponderManager::SocketHandle + case MdnsResponseSendOption::ResponseClass::UNSPECIFIED: + NOTREACHED(); + return RateLimitScheme::PER_RESPONSE; ++ default: ++ __builtin_abort (); + } + } + // Returns null if the computed delay exceeds kMaxScheduledDelay and the next +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/resource_scheduler.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/services/network/resource_scheduler.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/services/network/resource_scheduler.cc +@@ -79,6 +79,8 @@ const char* RequestStartTriggerString(Re + return "REQUEST_REPRIORITIZED"; + case RequestStartTrigger::LONG_QUEUED_REQUESTS_TIMER_FIRED: + return "LONG_QUEUED_REQUESTS_TIMER_FIRED"; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/longhands/custom_property.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/longhands/custom_property.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/longhands/custom_property.cc +@@ -101,6 +101,8 @@ const CSSValue* CustomProperty::ParseSin + if (registration_ && !ParseTyped(range, context, local_context)) + return nullptr; + return ParseUntyped(range, context, local_context); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/trustedtypes/trusted_types_util.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/core/trustedtypes/trusted_types_util.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/core/trustedtypes/trusted_types_util.cc +@@ -122,6 +122,8 @@ String GetStringFromSpecificTrustedType( + return GetStringFromTrustedURL(string_or_trusted_url, doc, + exception_state); + } ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/idle/idle_status.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/idle/idle_status.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/idle/idle_status.cc +@@ -87,6 +87,8 @@ String IdleStatus::state() const { + return "idle"; + case IdleState::LOCKED: + return "locked"; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc +@@ -604,6 +604,8 @@ RTCSetSessionDescriptionOperation GetRTC + return RTCSetSessionDescriptionOperation::kSetRemoteDescriptionAnswer; + return RTCSetSessionDescriptionOperation:: + kSetRemoteDescriptionInvalidType; ++ default: ++ __builtin_abort (); + } + } + +@@ -629,6 +631,8 @@ SdpUsageCategory DeduceSdpUsageCategory( + sdp_semantics == webrtc::SdpSemantics::kUnifiedPlan) + ? SdpUsageCategory::kSafe + : SdpUsageCategory::kUnsafe; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/service_worker/wait_until_observer.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/service_worker/wait_until_observer.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/service_worker/wait_until_observer.cc +@@ -188,6 +188,8 @@ bool WaitUntilObserver::IsEventActive(Sc + case EventDispatchState::kDispatched: + case EventDispatchState::kFailed: + return false; ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/worklet/animation_and_paint_worklet_thread.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/modules/worklet/animation_and_paint_worklet_thread.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/modules/worklet/animation_and_paint_worklet_thread.cc +@@ -92,6 +92,8 @@ AnimationAndPaintWorkletThread::CreateWo + return AnimationWorkletGlobalScope::Create(std::move(creation_params), + this); + } ++ default: ++ __builtin_abort (); + case WorkletType::PAINT_WORKLET: + TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("paint-worklet"), + "AnimationAndPaintWorkletThread::CreateWorkerGlobalScope"); +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc +@@ -509,6 +509,8 @@ const std::vector& G + return kAcceleratedCompositedFallbackList; + case CanvasResourceProvider::kAcceleratedDirectResourceUsage: + return kAcceleratedDirectFallbackList; ++ default: ++ __builtin_abort (); + } + NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/api/video_codecs/create_vp8_temporal_layers.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/api/video_codecs/create_vp8_temporal_layers.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/api/video_codecs/create_vp8_temporal_layers.cc +@@ -27,6 +27,8 @@ std::unique_ptr Creat + // Conference mode temporal layering for screen content in base stream. + return absl::make_unique(num_temporal_layers, + Clock::GetRealTimeClock()); ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/audio/channel_receive.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/audio/channel_receive.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/audio/channel_receive.cc +@@ -68,6 +68,8 @@ webrtc::FrameType WebrtcFrameTypeForMedi + kDiscountinuousTransmission: + return kAudioFrameCN; + break; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/audio_processing_impl.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/audio_processing_impl.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/audio_processing_impl.cc +@@ -121,6 +121,7 @@ NoiseSuppression::Level NsConfigLevelToI + case NsConfig::kVeryHigh: + return NoiseSuppression::kVeryHigh; + default: ++ __builtin_abort (); + RTC_NOTREACHED(); + } + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/pc/dtls_transport.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/pc/dtls_transport.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/pc/dtls_transport.cc +@@ -33,6 +33,8 @@ DtlsTransportState TranslateState(cricke + case cricket::DTLS_TRANSPORT_FAILED: + return DtlsTransportState::kFailed; + break; ++ default: ++ __builtin_abort (); + } + } + +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/rtc_base/key_derivation.cc +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/webrtc/rtc_base/key_derivation.cc ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/webrtc/rtc_base/key_derivation.cc +@@ -25,6 +25,8 @@ std::unique_ptr KeyDeriva + switch (key_derivation_algorithm) { + case KeyDerivationAlgorithm::HKDF_SHA256: + return absl::make_unique(); ++ default: ++ __builtin_abort (); + } + RTC_NOTREACHED(); + } +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/accessibility/mojom/ax_tree_id_mojom_traits.h +=================================================================== +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/ui/accessibility/mojom/ax_tree_id_mojom_traits.h ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/ui/accessibility/mojom/ax_tree_id_mojom_traits.h +@@ -19,6 +19,8 @@ struct UnionTraits #ifndef QT_NO_OPENGL # include @@ -19,7 +19,7 @@ Index: qtwebengine-everywhere-src-5.12.1/src/core/web_engine_context.cpp #endif #include #include -@@ -161,6 +162,39 @@ void dummyGetPluginCallback(const std::v +@@ -167,6 +168,39 @@ void dummyGetPluginCallback(const std::v } #endif @@ -59,7 +59,7 @@ Index: qtwebengine-everywhere-src-5.12.1/src/core/web_engine_context.cpp } // namespace namespace QtWebEngineCore { -@@ -449,6 +483,27 @@ WebEngineContext::WebEngineContext() +@@ -501,10 +535,31 @@ WebEngineContext::WebEngineContext() const char *glType = 0; #ifndef QT_NO_OPENGL @@ -84,15 +84,11 @@ Index: qtwebengine-everywhere-src-5.12.1/src/core/web_engine_context.cpp + disableGpu = true; + } + - bool tryGL = - !usingANGLE() - && (!usingSoftwareDynamicGL() -@@ -457,7 +512,7 @@ WebEngineContext::WebEngineContext() - // performant, but at least provides WebGL support. - || enableWebGLSoftwareRendering - ) -- && !usingQtQuick2DRenderer(); -+ && !usingQtQuick2DRenderer() && !disableGpu; - - if (tryGL) { + const bool tryGL = (usingDefaultSGBackend() && !usingSoftwareDynamicGL() && + QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::OpenGL)) + || enableGLSoftwareRendering; +- if (tryGL) { ++ if (tryGL && !disableGpu) { if (qt_gl_global_share_context() && qt_gl_global_share_context()->isValid()) { + // If the native handle is QEGLNativeContext try to use GL ES/2. + // If there is no native handle, assume we are using wayland and try GL ES/2. diff --git a/harmony-fix.diff b/harmony-fix.diff index eb1d7a1..450c55f 100644 --- a/harmony-fix.diff +++ b/harmony-fix.diff @@ -3,11 +3,11 @@ Date: 2017-09-19 23:30:08 -0700 Subject: This is required for QtWebEngine to show the patent-free LCD rendering. Without this patch, only grayscale rendering is used. References: boo#1061344 Upstream: submitted -Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp +Index: qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp =================================================================== ---- qtwebengine-everywhere-src-5.12.0-beta1.orig/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp -+++ qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp -@@ -112,8 +112,6 @@ public: +--- qtwebengine-everywhere-src-5.13.0-beta2.orig/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp ++++ qtwebengine-everywhere-src-5.13.0-beta2/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp +@@ -122,8 +122,6 @@ public: : fGetVarDesignCoordinates(nullptr) , fGetVarAxisFlags(nullptr) , fLibrary(nullptr) @@ -16,7 +16,7 @@ Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party { if (FT_New_Library(&gFTMemory, &fLibrary)) { return; -@@ -176,8 +174,6 @@ public: +@@ -186,8 +184,6 @@ public: // Setup LCD filtering. This reduces color fringes for LCD smoothed glyphs. // The default has changed over time, so this doesn't mean the same thing to all users. if (FT_Library_SetLcdFilter(fLibrary, FT_LCD_FILTER_DEFAULT) == 0) { @@ -25,7 +25,7 @@ Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party } } ~FreeTypeLibrary() { -@@ -187,8 +183,6 @@ public: +@@ -197,8 +193,6 @@ public: } FT_Library library() { return fLibrary; } @@ -34,7 +34,7 @@ Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party // FT_Get_{MM,Var}_{Blend,Design}_Coordinates were added in FreeType 2.7.1. // Prior to this there was no way to get the coordinates out of the FT_Face. -@@ -205,8 +199,6 @@ public: +@@ -215,8 +209,6 @@ public: private: FT_Library fLibrary; @@ -43,7 +43,7 @@ Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party // FT_Library_SetLcdFilterWeights was introduced in FreeType 2.4.0. // The following platforms provide FreeType of at least 2.4.0. -@@ -704,17 +696,6 @@ void SkTypeface_FreeType::onFilterRec(Sk +@@ -713,17 +705,6 @@ void SkTypeface_FreeType::onFilterRec(Sk rec->fTextSize = SkIntToScalar(1 << 14); } @@ -58,12 +58,12 @@ Index: qtwebengine-everywhere-src-5.12.0-beta1/src/3rdparty/chromium/third_party - unref_ft_library(); - } - - SkPaint::Hinting h = rec->getHinting(); - if (SkPaint::kFull_Hinting == h && !isLCD(*rec)) { + SkFontHinting h = rec->getHinting(); + if (kFull_SkFontHinting == h && !isLCD(*rec)) { // collapse full->normal hinting if we're not doing LCD -@@ -1109,11 +1090,11 @@ bool SkScalerContext_FreeType::getCBoxFo +@@ -1121,11 +1102,11 @@ bool SkScalerContext_FreeType::getCBoxFo void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) { - if (isLCD(fRec)) { + if (glyph->fMaskFormat == SkMask::kLCD16_Format) { if (fLCDIsVert) { - glyph->fHeight += gFTLibrary->lcdExtra(); - glyph->fTop -= gFTLibrary->lcdExtra() >> 1; diff --git a/libqt5-qtwebengine.changes b/libqt5-qtwebengine.changes index a621f18..798b7b9 100644 --- a/libqt5-qtwebengine.changes +++ b/libqt5-qtwebengine.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed Jun 19 11:26:34 UTC 2019 - fabian@ritter-vogt.de + +- Update to 5.13.0: + * New bugfix release + * No changelog available + * For more details about Qt 5.13 please see: + * http://code.qt.io/cgit/qt/qtwebengine.git/plain/dist/changes-5.13.0/?h=5.13 + +------------------------------------------------------------------- +Sat Jun 15 14:37:48 UTC 2019 - Stefan BrĂ¼ns + +- Replace open coded macro for parallel build limit by the one from the + memory-constraints package + +------------------------------------------------------------------- +Tue Jun 4 07:25:38 UTC 2019 - fabian@ritter-vogt.de + +- Update to 5.13.0-rc: + * New bugfix release + * No changelog available + +------------------------------------------------------------------- +Tue Apr 30 12:50:05 UTC 2019 - Fabian Vogt + +- Fix system_vpx bcond + +------------------------------------------------------------------- +Mon Apr 29 09:17:20 UTC 2019 - fabian@ritter-vogt.de + +- Update to 5.13.0-beta2: + * New bugfix release + * No changelog available +- Refresh patches: + * harmony-fix.diff + * chromium-non-void-return.patch (sigh, again) +- Fix system_vpx bcond +- Disable using the system ICU on Leap < 16, too old + ------------------------------------------------------------------- Thu Apr 18 07:27:59 UTC 2019 - fabian@ritter-vogt.de @@ -7,6 +46,20 @@ Thu Apr 18 07:27:59 UTC 2019 - fabian@ritter-vogt.de * http://code.qt.io/cgit/qt/qtwebengine.git/plain/dist/changes-5.12.3/?h=v5.12.3 - Refresh chromium-non-void-return.patch +------------------------------------------------------------------- +Thu Mar 21 10:26:45 UTC 2019 - fabian@ritter-vogt.de + +- Update to 5.13.0-beta1: + * New feature release + * For more details about Qt 5.13 please see: + * http://code.qt.io/cgit/qt/qtwebengine.git/plain/dist/changes-5.13.0/?h=5.13 +- Refresh patches: + * disable-gpu-when-using-nouveau-boo-1005323.diff + * harmony-fix.diff + * chromium-non-void-return.patch (sigh) +- Remote patches, now upstream: + * reproducible.patch + ------------------------------------------------------------------- Thu Mar 14 08:52:25 UTC 2019 - fabian@ritter-vogt.de @@ -684,3 +737,4 @@ Thu Nov 27 15:58:50 UTC 2014 - hrvoje.senjan@gmail.com Sat Aug 2 15:31:16 UTC 2014 - hrvoje.senjan@gmail.com - Activate libqt5-qtwebengine package + diff --git a/libqt5-qtwebengine.spec b/libqt5-qtwebengine.spec index ab71ea3..acd7eb1 100644 --- a/libqt5-qtwebengine.spec +++ b/libqt5-qtwebengine.spec @@ -19,16 +19,16 @@ %define qt5_snapshot 0 -%if %{?suse_version} <= 1320 -%bcond_with system_vpx +%if %{?suse_version} > 1500 || 0%{?sle_version} > 150100 +%bcond_without system_vpx %else -# Needs libvpx > 1.6.1 %bcond_with system_vpx %endif -%if %{?suse_version} < 1330 -%bcond_with system_icu -%else +%if 0%{?suse_version} > 1500 +# Needs ICU >= 63 %bcond_without system_icu +%else +%bcond_with system_icu %endif %if %{?suse_version} >= 1330 || (0%{?is_opensuse} && 0%{?sle_version} >= 120200) %bcond_without system_ffmpeg @@ -40,29 +40,29 @@ %else %bcond_with system_minizip %endif +# Not even in Tumbleweed as of 2019-03-22 +%bcond_with system_harfbuzz # This is just overall condition to contain everything we can't provide on SLE12 %if 0%{?suse_version} >= 1320 || 0%{?is_opensuse} %bcond_with sle_bundles -%bcond_without system_harfbuzz %else %bcond_without sle_bundles -%bcond_with system_harfbuzz %endif # spellchecking dictionary directory %global _qtwebengine_dictionaries_dir %{_libqt5_datadir}/qtwebengine_dictionaries Name: libqt5-qtwebengine -Version: 5.12.3 +Version: 5.13.0 Release: 0 Summary: Qt 5 WebEngine Library License: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only Group: Development/Libraries/X11 Url: https://www.qt.io %define base_name libqt5 -%define real_version 5.12.3 -%define so_version 5.12.3 -%define tar_version qtwebengine-everywhere-src-5.12.3 -Source: https://download.qt.io/official_releases/qt/5.12/%{real_version}/submodules/%{tar_version}.tar.xz +%define real_version 5.13.0 +%define so_version 5.13.0 +%define tar_version qtwebengine-everywhere-src-5.13.0 +Source: https://download.qt.io/official_releases/qt/5.13/%{real_version}/submodules/%{tar_version}.tar.xz Source1: baselibs.conf # PATCH-FIX-UPSTREAM armv6-ffmpeg-no-thumb.patch - Fix ffmpeg configuration for armv6 Patch1: armv6-ffmpeg-no-thumb.patch @@ -72,8 +72,6 @@ Patch2: disable-gpu-when-using-nouveau-boo-1005323.diff Patch5: harmony-fix.diff # PATCH-FIX-OPENSUSE (copied from the chromium package) Patch9: chromium-non-void-return.patch -# PATCH-FIX-UPSTREAM reproducible.patch -- https://bugs.chromium.org/p/chromium/issues/detail?id=740363 boo#1047218 -Patch10: reproducible.patch # http://www.chromium.org/blink not ported to PowerPC ExcludeArch: ppc ppc64 ppc64le s390 s390x # Try to fix i586 MemoryErrors with rpmlint @@ -100,6 +98,7 @@ BuildRequires: libqt5-qtlocation-private-headers-devel >= 5.9 BuildRequires: libqt5-qttools-private-headers-devel >= 5.9 BuildRequires: libqt5-qtwebchannel-private-headers-devel >= 5.9 BuildRequires: libqt5-qtxmlpatterns-private-headers-devel >= 5.9 +BuildRequires: memory-constraints BuildRequires: ninja BuildRequires: pam-devel BuildRequires: pciutils-devel @@ -179,13 +178,13 @@ BuildRequires: yasm-devel BuildRequires: pkgconfig(minizip) %endif %if %{with system_harfbuzz} -BuildRequires: pkgconfig(harfbuzz) >= 1.2.0 +BuildRequires: pkgconfig(harfbuzz) >= 2.0.0 %endif %if %{with system_icu} -BuildRequires: pkgconfig(icu-i18n) >= 54.0 +BuildRequires: pkgconfig(icu-i18n) >= 63.0 %endif %if %{with system_vpx} -BuildRequires: pkgconfig(vpx) >= 1.4.0 +BuildRequires: pkgconfig(vpx) >= 1.8.0 %endif %if %{with system_ffmpeg} BuildRequires: pkgconfig(libavcodec) @@ -199,7 +198,6 @@ BuildRequires: perl %requires_ge libQt5Network5 %requires_ge libQtQuick5 %requires_ge libQt5Widgets5 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Qt WebEngine provides functionality for rendering regions of dynamic @@ -292,32 +290,19 @@ export RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-g / } %endif -system-webengine-opus -system-webengine-webp -webengine-pepper-plugins -webengine-printing-and-pdf -# do not run too many parallel jobs, per bigger memory size worker it uses more -# parallel then cost more memory. Determine the right number of parallel -# processes based on the available memory -makeproc="%{?jobs:%{jobs}}" -echo "Available memory:" -cat /proc/meminfo -echo "System limits:" -ulimit -a -if test -n "$makeproc" -a "$makeproc" -gt 1 ; then - mem_per_process=2000000 - max_mem=$(awk '/MemTotal/ { print $2 }' /proc/meminfo) - max_jobs="$(($max_mem / $mem_per_process))" - test "$makeproc" -gt "$max_jobs" && makeproc="$max_jobs" && echo "Warning: Reducing number of jobs to $max_jobs because of memory limits" - test "$makeproc" -le 0 && makeproc=1 && echo "Warning: Do not use the parallel build at all becuse of memory limits" -fi +# Determine the right number of parallel processes based on the available memory +%limit_build -m 2000 -# Ensure that also the internal chromium build follows the right number of parallell -# processess instead of its defaults. -export NINJAFLAGS="-j $makeproc" +# Ensure that also the internal chromium build follows the right number of parallel +# processes instead of its defaults. +export NINJAFLAGS="%{_smp_mflags}" %if 0%{?suse_version} < 1330 export CC=gcc-7 export CXX=g++-7 %endif -make -j$makeproc VERBOSE=1 +make %{_smp_mflags} VERBOSE=1 %install %qmake5_install diff --git a/qtwebengine-everywhere-src-5.12.3.tar.xz b/qtwebengine-everywhere-src-5.12.3.tar.xz deleted file mode 100644 index 55710ef..0000000 --- a/qtwebengine-everywhere-src-5.12.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ff3bac12d75aa0f3fd993bb7077fe411f7b0e6a3993af6f8b039d48e3dc4317 -size 249275648 diff --git a/qtwebengine-everywhere-src-5.13.0.tar.xz b/qtwebengine-everywhere-src-5.13.0.tar.xz new file mode 100644 index 0000000..e26d168 --- /dev/null +++ b/qtwebengine-everywhere-src-5.13.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0af82ecee1ab41b6732697f667b98b7b0c53164bebcfaad8070e88b2e064efe +size 256899724 diff --git a/reproducible.patch b/reproducible.patch deleted file mode 100644 index 15b0371..0000000 --- a/reproducible.patch +++ /dev/null @@ -1,37 +0,0 @@ -Author: Bernhard M. Wiedemann -AuthorDate: 2017-08-10 21:41:38 +0200 - -Allow to override build date - -in order to allow for reproducible builds. -See https://reproducible-builds.org/ for why this is good -and https://reproducible-builds.org/specs/source-date-epoch/ -for the definition of this variable. - -simple fix for https://bugs.chromium.org/p/chromium/issues/detail?id=740363 -that was fixed upstream in a more complicated way - -See also https://bugzilla.opensuse.org/show_bug.cgi?id=1047218 packages do not build reproducibly from including build time - -Index: qtwebengine-everywhere-src-5.11.2/src/3rdparty/chromium/build/write_build_date_header.py -=================================================================== ---- qtwebengine-everywhere-src-5.11.2.orig/src/3rdparty/chromium/build/write_build_date_header.py -+++ qtwebengine-everywhere-src-5.11.2/src/3rdparty/chromium/build/write_build_date_header.py -@@ -21,6 +21,7 @@ import datetime - import doctest - import os - import sys -+import time - - - def GetFirstSundayOfMonth(year, month): -@@ -88,7 +89,8 @@ def main(): - # Format is expected to be "Mmm DD YYYY HH:MM:SS". - build_date = args.build_date_override - else: -- now = datetime.datetime.utcnow() -+ epoch = int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) -+ now = datetime.datetime.utcfromtimestamp(epoch) - if now.hour < 5: - # The time is locked at 5:00 am in UTC to cause the build cache - # invalidation to not happen exactly at midnight. Use the same calculation