diff options
author | posciak@chromium.org <posciak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 02:23:32 +0000 |
---|---|---|
committer | posciak@chromium.org <posciak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 02:23:32 +0000 |
commit | 16d1cbc6d2e4064abd2f41614ce9dfc0c8eb89af (patch) | |
tree | 435c68eb5bce5be0c87d76876d609d97dbb82b00 /media | |
parent | 08d90fea72efa8f9e55cc0b3c91b955f08126c50 (diff) | |
download | chromium_src-16d1cbc6d2e4064abd2f41614ce9dfc0c8eb89af.zip chromium_src-16d1cbc6d2e4064abd2f41614ce9dfc0c8eb89af.tar.gz chromium_src-16d1cbc6d2e4064abd2f41614ce9dfc0c8eb89af.tar.bz2 |
GVD: DestroyTextures() on other platforms than CrOS as well
BUG=156251
TEST=
Review URL: https://chromiumcodereview.appspot.com/11272020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/filters/gpu_video_decoder.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc index c69e35e..9fdf9de 100644 --- a/media/filters/gpu_video_decoder.cc +++ b/media/filters/gpu_video_decoder.cc @@ -215,10 +215,7 @@ void GpuVideoDecoder::DestroyVDA() { base::Bind(&VideoDecodeAccelerator::Destroy, weak_vda_), base::Bind(&GpuVideoDecoder::Release, this)); -// TODO(posciak): enable for all. -#ifdef OS_CHROMEOS DestroyTextures(); -#endif } void GpuVideoDecoder::Read(const ReadCB& read_cb) { @@ -543,10 +540,7 @@ GpuVideoDecoder::~GpuVideoDecoder() { } bitstream_buffers_in_decoder_.clear(); -// TODO(posciak): enable for all. -#ifdef OS_CHROMEOS DestroyTextures(); -#endif } void GpuVideoDecoder::EnsureDemuxOrDecode() { |