Index: ipc/ipc_message_utils_unittest.cc |
diff --git a/ipc/ipc_message_utils_unittest.cc b/ipc/ipc_message_utils_unittest.cc |
index 88d670de9adb90239a4b23adbbf63842a37b4149..35a3e66271dc269f39309c9b2545733f9c892634 100644 |
--- a/ipc/ipc_message_utils_unittest.cc |
+++ b/ipc/ipc_message_utils_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "ipc/ipc_message_utils.h" |
+#include <stdint.h> |
+ |
#include "base/files/file_path.h" |
#include "ipc/ipc_message.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -13,8 +15,8 @@ namespace { |
// Tests nesting of messages as parameters to other messages. |
TEST(IPCMessageUtilsTest, NestedMessages) { |
- int32 nested_routing = 12; |
- uint32 nested_type = 78; |
+ int32_t nested_routing = 12; |
+ uint32_t nested_type = 78; |
int nested_content = 456789; |
Message::PriorityValue nested_priority = Message::PRIORITY_HIGH; |
Message nested_msg(nested_routing, nested_type, nested_priority); |
@@ -22,8 +24,8 @@ TEST(IPCMessageUtilsTest, NestedMessages) { |
ParamTraits<int>::Write(&nested_msg, nested_content); |
// Outer message contains the nested one as its parameter. |
- int32 outer_routing = 91; |
- uint32 outer_type = 88; |
+ int32_t outer_routing = 91; |
+ uint32_t outer_type = 88; |
Message::PriorityValue outer_priority = Message::PRIORITY_NORMAL; |
Message outer_msg(outer_routing, outer_type, outer_priority); |
ParamTraits<Message>::Write(&outer_msg, nested_msg); |