diff --git a/dom/media/Intervals.h b/dom/media/Intervals.h index 4e0cbf161ff7..f2c74aaa0433 100644 --- a/dom/media/Intervals.h +++ b/dom/media/Intervals.h @@ -574,10 +574,6 @@ public: bool Contains(const ElemType& aInterval) const { for (const auto& interval : mIntervals) { - if (aInterval.LeftOf(interval)) { - // Will never succeed. - return false; - } if (interval.Contains(aInterval)) { return true; }