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 8fe6b737a0f101fb90664b520a5ac3281d603fe8..8902d6074d8a0a584b9de0414fcd69f48a7f83b3 100644 |
--- a/content/common/gpu/client/gl_helper.cc |
+++ b/content/common/gpu/client/gl_helper.cc |
@@ -1153,6 +1153,11 @@ bool GLHelper::IsReadbackConfigSupported(SkBitmap::Config texture_format) { |
return readback_support_.get()->IsReadbackConfigSupported(texture_format); |
} |
+SkBitmap::Config GLHelper::PreferredReadbackFormat() { |
+ DCHECK(readback_support_.get()); |
+ return readback_support_.get()->PreferredReadbackFormat(); |
+} |
+ |
ReadbackYUVInterface* GLHelper::CopyTextureToImpl::CreateReadbackPipelineYUV( |
GLHelper::ScalerQuality quality, |
const gfx::Size& src_size, |