diff --git a/dom/media/webvtt/vtt.jsm b/dom/media/webvtt/vtt.jsm index 3cda63b3ee62..ea4762777c9c 100644 --- a/dom/media/webvtt/vtt.jsm +++ b/dom/media/webvtt/vtt.jsm @@ -872,16 +872,6 @@ XPCOMUtils.defineLazyPreferenceGetter(this, "DEBUG_LOG", return false; } - // Check if this box overlaps any other boxes in boxes. - overlapsAny(boxes) { - for (let i = 0; i < boxes.length; i++) { - if (this.overlaps(boxes[i])) { - return true; - } - } - return false; - } - // Check if this box is within another box. within(container) { return (this.top >= container.top - this.fuzz) &&