Index: webrtc/modules/video_coding/sequence_number_util.h |
diff --git a/webrtc/modules/video_coding/sequence_number_util.h b/webrtc/modules/video_coding/sequence_number_util.h |
index e3bc38e68e36b3123bed797c6f6b6d601a9b6d0f..008e5f1623681145f7714c4ea4cec54b09f2dfb6 100644 |
--- a/webrtc/modules/video_coding/sequence_number_util.h |
+++ b/webrtc/modules/video_coding/sequence_number_util.h |
@@ -84,10 +84,10 @@ struct DescendingSeqNumComp { |
// can be set. The unwrapped value is not allowed to wrap. |
template <typename T, T M = 0> |
class SeqNumUnwrapper { |
+ // Use '<' instead of rtc::SafeLt to avoid crbug.com/753488 |
static_assert( |
std::is_unsigned<T>::value && |
- rtc::SafeLt(std::numeric_limits<T>::max(), |
- std::numeric_limits<uint64_t>::max()), |
+ std::numeric_limits<T>::max() < std::numeric_limits<uint64_t>::max(), |
"Type unwrapped must be an unsigned integer smaller than uint64_t."); |
public: |