Skip to content

Commit

Permalink
Backed out changeset 96ef0dd840e8 (bug 1299415) for TextureClient ass…
Browse files Browse the repository at this point in the history
…erts/crashes in various test suites.
  • Loading branch information
rvandermeulen committed Sep 1, 2016
1 parent c915299 commit 6119440
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions dom/media/VideoFrameContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,6 @@ void VideoFrameContainer::ClearFutureFrames()
}
}

void
VideoFrameContainer::ClearCachedResources()
{
mImageContainer->ClearCachedResources();
}

ImageContainer* VideoFrameContainer::GetImageContainer() {
return mImageContainer;
}
Expand Down
3 changes: 0 additions & 3 deletions dom/media/VideoFrameContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ class VideoFrameContainer : public MediaStreamVideoSink {
// but was actually painted at t+n, this returns n in seconds. Threadsafe.
double GetFrameDelay();

// Clear any resources that are not immediately necessary.
void ClearCachedResources();

// Returns a new frame ID for SetCurrentFrames(). The client must either
// call this on only one thread or provide barriers. Do not use together
// with SetCurrentFrame().
Expand Down
3 changes: 0 additions & 3 deletions dom/media/mediasink/VideoSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ VideoSink::SetPlaying(bool aPlaying)
mUpdateScheduler.Reset();
// Since playback is paused, tell compositor to render only current frame.
RenderVideoFrames(1);
if (mContainer) {
mContainer->ClearCachedResources();
}
}

mAudioSink->SetPlaying(aPlaying);
Expand Down

0 comments on commit 6119440

Please sign in to comment.