Index: content/common/gpu/client/gl_helper.cc |
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc |
index c84a392ad7ec21327428b28103b8b1db3d1f32b5..8c4a260f842c64cf65532650eae6290e38bf658b 100644 |
--- a/content/common/gpu/client/gl_helper.cc |
+++ b/content/common/gpu/client/gl_helper.cc |
@@ -1145,7 +1145,7 @@ void GLHelper::CopyTextureToImpl::ReadbackYUVImpl::ReadbackYUV( |
swizzle_, |
base::Bind(&CallbackKeepingVideoFrameAlive, target, callback)); |
gl_->BindFramebuffer(GL_FRAMEBUFFER, 0); |
- media::LetterboxYUV(target, dst_subrect_); |
+ media::LetterboxYUV(target.get(), dst_subrect_); |
} |
// YUV readback constructors. Initiates the main scaler pipeline and |
@@ -1283,7 +1283,7 @@ void GLHelper::CopyTextureToImpl::ReadbackYUV_MRT::ReadbackYUV( |
swizzle_, |
base::Bind(&CallbackKeepingVideoFrameAlive, target, callback)); |
gl_->BindFramebuffer(GL_FRAMEBUFFER, 0); |
- media::LetterboxYUV(target, dst_subrect_); |
+ media::LetterboxYUV(target.get(), dst_subrect_); |
} |
bool GLHelper::IsReadbackConfigSupported(SkColorType color_type) { |