mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1055904 - Fix non-unified bustage in TrackBuffer.cpp.
This commit is contained in:
parent
9c00a3327b
commit
36d51a165e
@ -339,7 +339,7 @@ TrackBuffer::EvictData(double aPlaybackTime,
|
||||
|
||||
bool evicted = toEvict < (totalSize - aThreshold);
|
||||
if (evicted) {
|
||||
nsRefPtr<TimeRanges> ranges = new TimeRanges();
|
||||
nsRefPtr<dom::TimeRanges> ranges = new dom::TimeRanges();
|
||||
mCurrentDecoder->GetBuffered(ranges);
|
||||
*aBufferStartTime = std::max(0.0, ranges->GetStartTime());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user