22 lines
710 B
Diff
22 lines
710 B
Diff
--- a/third_party/blink/renderer/platform/media/web_media_player_impl.cc.orig
|
|
+++ b/third_party/blink/renderer/platform/media/web_media_player_impl.cc
|
|
@@ -3881,15 +3881,15 @@
|
|
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;
|