Index: content/browser/background_sync/background_sync_service_impl.cc |
diff --git a/content/browser/background_sync/background_sync_service_impl.cc b/content/browser/background_sync/background_sync_service_impl.cc |
index ead436f4a077512c517c86c755a8f8128063274b..04f9e7f6d26e0cb928e9b6aa743e028169de06ab 100644 |
--- a/content/browser/background_sync/background_sync_service_impl.cc |
+++ b/content/browser/background_sync/background_sync_service_impl.cc |
@@ -47,9 +47,9 @@ SyncRegistrationPtr ToMojoRegistration( |
} // namespace |
#define COMPILE_ASSERT_MATCHING_ENUM(mojo_name, manager_name) \ |
- COMPILE_ASSERT(static_cast<int>(content::mojo_name) == \ |
- static_cast<int>(content::manager_name), \ |
- mismatching_enums) |
+ static_assert(static_cast<int>(content::mojo_name) == \ |
+ static_cast<int>(content::manager_name), \ |
+ "mojo and manager enums must match") |
// TODO(iclelland): Move these tests somewhere else |
COMPILE_ASSERT_MATCHING_ENUM(BACKGROUND_SYNC_ERROR_NONE, |