| Index: content/child/background_sync/background_sync_type_converters.cc
|
| diff --git a/content/child/background_sync/background_sync_type_converters.cc b/content/child/background_sync/background_sync_type_converters.cc
|
| index e26c2e361b11671bf68fb1077ee9621d7d12723a..5144444c72e5c131c61584c9f639fc9ac31c7653 100644
|
| --- a/content/child/background_sync/background_sync_type_converters.cc
|
| +++ b/content/child/background_sync/background_sync_type_converters.cc
|
| @@ -9,9 +9,9 @@
|
| namespace mojo {
|
|
|
| #define COMPILE_ASSERT_MATCHING_ENUM(mojo_name, blink_name) \
|
| - COMPILE_ASSERT(static_cast<int>(content::mojo_name) == \
|
| - static_cast<int>(blink::blink_name), \
|
| - mismatching_enums)
|
| + static_assert(static_cast<int>(content::mojo_name) == \
|
| + static_cast<int>(blink::blink_name), \
|
| + "mojo and blink enums must match")
|
|
|
| COMPILE_ASSERT_MATCHING_ENUM(BACKGROUND_SYNC_PERIODICITY_PERIODIC,
|
| WebSyncRegistration::PeriodicityPeriodic);
|
|
|