22 lines
790 B
Diff
22 lines
790 B
Diff
|
--- 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;
|