| Index: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
|
| index ae2fe3c6623062a68df17b7fbe42a57675a027f9..e5ecf729547e02306a417f1c35f11c5edba91d5f 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
|
| @@ -121,8 +121,8 @@ IncidentType GetIncidentType(
|
| return VARIATIONS_SEED_SIGNATURE;
|
|
|
| // Add detection for new incident types here.
|
| - COMPILE_ASSERT(VARIATIONS_SEED_SIGNATURE + 1 == NUM_INCIDENT_TYPES,
|
| - add_support_for_new_types);
|
| + static_assert(VARIATIONS_SEED_SIGNATURE + 1 == NUM_INCIDENT_TYPES,
|
| + "support for new types must be added");
|
| NOTREACHED();
|
| return NUM_INCIDENT_TYPES;
|
| }
|
|
|