Bug 1143575. Remove unused VideoFrameContainer::Reset. r=nical

--HG--
extra : commitid : 4F7BQzgug3q
extra : rebase_source : 0cdac4f1f201afb0c1168c618febd6f0439e0318
This commit is contained in:
Robert O'Callahan 2015-03-23 23:33:51 +13:00
Родитель c85ce2add1
Коммит 4dc4994e87
2 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -65,16 +65,6 @@ void VideoFrameContainer::SetCurrentFrame(const gfxIntSize& aIntrinsicSize,
mPaintTarget = aTargetTime;
}
void VideoFrameContainer::Reset()
{
ClearCurrentFrame(true);
Invalidate();
mIntrinsicSize = gfxIntSize(-1, -1);
mPaintDelay = mozilla::TimeDuration();
mPaintTarget = mozilla::TimeStamp();
mImageContainer->ResetPaintCount();
}
void VideoFrameContainer::ClearCurrentFrame(bool aResetSize)
{
MutexAutoLock lock(mMutex);

Просмотреть файл

@ -49,8 +49,6 @@ public:
B2G_ACL_EXPORT void SetCurrentFrame(const gfxIntSize& aIntrinsicSize, Image* aImage,
TimeStamp aTargetTime);
void ClearCurrentFrame(bool aResetSize = false);
// Reset the VideoFrameContainer
void Reset();
// Time in seconds by which the last painted video frame was late by.
// E.g. if the last painted frame should have been painted at time t,
// but was actually painted at t+n, this returns n in seconds. Threadsafe.