void-packages/srcpkgs/qt6-pdf/patches/0124-fix-constexpr-narrowin...

22 lines
790 B
Diff
Raw Normal View History

2024-06-23 05:44:30 +02:00
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/media/web_media_player_impl.cc
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/media/web_media_player_impl.cc
@@ -3732,15 +3732,15 @@ void WebMediaPlayerImpl::WriteSplitHisto
const T&... values) {
std::string strkey = std::string(key);
- if constexpr (Flags & kEncrypted) {
+ if constexpr (Flags & kEncrypted != 0) {
if (is_encrypted_)
UmaFunction(strkey + ".EME", values...);
}
- if constexpr (Flags & kTotal)
+ if constexpr (Flags & kTotal != 0)
UmaFunction(strkey + ".All", values...);
- if constexpr (Flags & kPlaybackType) {
+ if constexpr (Flags & kPlaybackType != 0) {
auto demuxer_type = GetDemuxerType();
if (!demuxer_type.has_value())
return;