| Index: content/common/media/video_capture_messages.h
|
| diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
|
| index c3970df76f80592a0f389077d5db1c43d53ec9db..e22cba8688cc2c2e24d3e838defde664a9cc7933 100644
|
| --- a/content/common/media/video_capture_messages.h
|
| +++ b/content/common/media/video_capture_messages.h
|
| @@ -89,10 +89,13 @@ IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop,
|
|
|
| // Tell the browser process that the renderer has finished reading from
|
| // a buffer previously delivered by VideoCaptureMsg_BufferReady.
|
| +// Define SyncPoints so that macro compiler considers std::map as one argument.
|
| +// See http://www.boost.org/doc/libs/1_48_0/doc/html/foreach/pitfalls.html
|
| +typedef std::map<std::string, uint32> SyncPoints;
|
| IPC_MESSAGE_CONTROL3(VideoCaptureHostMsg_BufferReady,
|
| int /* device_id */,
|
| int /* buffer_id */,
|
| - std::vector<uint32> /* syncpoints */)
|
| + SyncPoints)
|
|
|
| // Get the formats supported by a device referenced by |capture_session_id|.
|
| IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_GetDeviceSupportedFormats,
|
|
|