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..8778eb8360d0f58a78551f0d5045e56654d8ee14 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<uintptr_t, 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, |