Index: content/browser/renderer_host/p2p/socket_host_test_utils.h |
diff --git a/content/browser/renderer_host/p2p/socket_host_test_utils.h b/content/browser/renderer_host/p2p/socket_host_test_utils.h |
index b94a2eec92dbf4d3ca95510e2d60881d05b7d97d..b008f9f1fc93369bfe6a2c7e24286b80eb66abf5 100644 |
--- a/content/browser/renderer_host/p2p/socket_host_test_utils.h |
+++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h |
@@ -102,7 +102,7 @@ MATCHER_P(MatchPacketMessage, packet_content, "") { |
return false; |
P2PMsg_OnDataReceived::Param params; |
P2PMsg_OnDataReceived::Read(arg, ¶ms); |
- return params.c == packet_content; |
+ return get<2>(params) == packet_content; |
} |
MATCHER_P(MatchIncomingSocketMessage, address, "") { |
@@ -111,7 +111,7 @@ MATCHER_P(MatchIncomingSocketMessage, address, "") { |
P2PMsg_OnIncomingTcpConnection::Param params; |
P2PMsg_OnIncomingTcpConnection::Read( |
arg, ¶ms); |
- return params.b == address; |
+ return get<1>(params) == address; |
} |
#endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TEST_UTILS_H_ |