| Index: media/gpu/avda_codec_image.cc
|
| diff --git a/media/gpu/avda_codec_image.cc b/media/gpu/avda_codec_image.cc
|
| index 07213f3a14b0edca57980cab6c58e940bdcde35a..fc0b43e40ce93506dbd7f9d2afe8f1a81403e037 100644
|
| --- a/media/gpu/avda_codec_image.cc
|
| +++ b/media/gpu/avda_codec_image.cc
|
| @@ -89,8 +89,8 @@ bool AVDACodecImage::CopyTexImage(unsigned target) {
|
| // CopyTexImage() is called each time the surface texture is used for drawing.
|
| // It would be nice if we could do this via asking for the currently bound
|
| // Texture, but the active unit never seems to change.
|
| - texture_->SetLevelStreamTextureImage(GL_TEXTURE_EXTERNAL_OES, 0, this,
|
| - gpu::gles2::Texture::UNBOUND);
|
| + texture_->SetLevelImageState(GL_TEXTURE_EXTERNAL_OES, 0,
|
| + gpu::gles2::Texture::UNBOUND);
|
|
|
| return true;
|
| }
|
|
|