Title: [273741] trunk/Source/WebCore
- Revision
- 273741
- Author
- [email protected]
- Date
- 2021-03-02 11:16:10 -0800 (Tue, 02 Mar 2021)
Log Message
Unreviewed. Fix -Wreturn-type warnings after r273550
* Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
(WebCore::fromRTCPriorityType):
(WebCore::toRTCPriorityType):
(WebCore::toWebRTCBitRatePriority):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (273740 => 273741)
--- trunk/Source/WebCore/ChangeLog 2021-03-02 19:14:45 UTC (rev 273740)
+++ trunk/Source/WebCore/ChangeLog 2021-03-02 19:16:10 UTC (rev 273741)
@@ -1,3 +1,12 @@
+2021-03-02 Lauro Moura <[email protected]>
+
+ Unreviewed. Fix -Wreturn-type warnings after r273550
+
+ * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp:
+ (WebCore::fromRTCPriorityType):
+ (WebCore::toRTCPriorityType):
+ (WebCore::toWebRTCBitRatePriority):
+
2021-03-02 Martin Robinson <[email protected]>
Eliminate ScrollAnimatorGeneric::m_smoothAnimation
Modified: trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp (273740 => 273741)
--- trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp 2021-03-02 19:14:45 UTC (rev 273740)
+++ trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp 2021-03-02 19:16:10 UTC (rev 273741)
@@ -57,6 +57,8 @@
case RTCPriorityType::High:
return webrtc::Priority::kHigh;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
RTCPriorityType toRTCPriorityType(webrtc::Priority priority)
@@ -71,6 +73,8 @@
case webrtc::Priority::kHigh:
return RTCPriorityType::High;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
static inline double toWebRTCBitRatePriority(RTCPriorityType priority)
@@ -85,6 +89,8 @@
case RTCPriorityType::High:
return 4;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
}
static inline RTCPriorityType fromWebRTCBitRatePriority(double priority)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes