Index: content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
diff --git a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
index 44dd002e91d178bfdd921813f29347e9680a8d05..2aa6edd238ff22b5c4c62234720ade9861d77da9 100644 |
--- a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
+++ b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
@@ -180,7 +180,8 @@ void GpuJpegDecodeAcceleratorHost::Decode( |
decode_params.coded_size = video_frame->coded_size(); |
decode_params.output_video_frame_handle = output_handle; |
- decode_params.output_buffer_size = output_buffer_size; |
+ decode_params.output_buffer_size = |
+ base::checked_cast<uint32_t>(output_buffer_size); |
Send(new AcceleratedJpegDecoderMsg_Decode(decoder_route_id_, decode_params)); |
} |