Index: content/browser/gamepad/xbox_data_fetcher_mac.cc |
diff --git a/content/browser/gamepad/xbox_data_fetcher_mac.cc b/content/browser/gamepad/xbox_data_fetcher_mac.cc |
index 0626f94212c94408b53639123355d8f7b72116e8..163f96cb3acb640f5ae3a0db4bb179ae1472774e 100644 |
--- a/content/browser/gamepad/xbox_data_fetcher_mac.cc |
+++ b/content/browser/gamepad/xbox_data_fetcher_mac.cc |
@@ -113,8 +113,8 @@ struct XboxOneButtonData { |
}; |
#pragma pack(pop) |
-COMPILE_ASSERT(sizeof(Xbox360ButtonData) == 18, xbox_button_data_wrong_size); |
-COMPILE_ASSERT(sizeof(XboxOneButtonData) == 14, xbox_button_data_wrong_size); |
+static_assert(sizeof(Xbox360ButtonData) == 18, "xbox button data wrong size"); |
+static_assert(sizeof(XboxOneButtonData) == 14, "xbox button data wrong size"); |
// From MSDN: |
// http://msdn.microsoft.com/en-us/library/windows/desktop/ee417001(v=vs.85).aspx#dead_zone |