| Index: media/gpu/ipc/common/media_messages.h
|
| diff --git a/media/gpu/ipc/common/media_messages.h b/media/gpu/ipc/common/media_messages.h
|
| index 506c391c74f8563e83df1e1ac1b3b118ca36c4e1..2c56e251503f5d16c60488ccb5203690d5076214 100644
|
| --- a/media/gpu/ipc/common/media_messages.h
|
| +++ b/media/gpu/ipc/common/media_messages.h
|
| @@ -12,6 +12,7 @@
|
| #include "gpu/ipc/common/gpu_param_traits_macros.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/param_traits_macros.h"
|
| +#include "media/base/overlay_info.h"
|
| #include "media/gpu/ipc/common/media_param_traits.h"
|
| #include "media/video/jpeg_decode_accelerator.h"
|
| #include "media/video/video_decode_accelerator.h"
|
| @@ -92,11 +93,9 @@ IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Flush)
|
| // Send reset request to the decoder.
|
| IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Reset)
|
|
|
| -// Send a surface id to the decoder.
|
| -IPC_MESSAGE_ROUTED2(
|
| - AcceleratedVideoDecoderMsg_SetSurface,
|
| - int32_t, /* Surface ID */
|
| - base::Optional<base::UnguessableToken>); /* AndroidOverlay routing token */
|
| +// Send overlay info to the decoder.
|
| +IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetOverlayInfo,
|
| + media::OverlayInfo);
|
|
|
| // Send destroy request to the decoder.
|
| IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderMsg_Destroy)
|
|
|