| Index: components/sync_driver/model_association_manager.cc
|
| diff --git a/components/sync_driver/model_association_manager.cc b/components/sync_driver/model_association_manager.cc
|
| index 88c5a965eedeecf1c2cce8b98e14855ba9083009..1b2c09bce5d1c032d429d57b6348ec8f360d8237 100644
|
| --- a/components/sync_driver/model_association_manager.cc
|
| +++ b/components/sync_driver/model_association_manager.cc
|
| @@ -61,9 +61,10 @@ static const syncer::ModelType kStartOrder[] = {
|
| syncer::WIFI_CREDENTIALS,
|
| };
|
|
|
| -COMPILE_ASSERT(arraysize(kStartOrder) ==
|
| - syncer::MODEL_TYPE_COUNT - syncer::FIRST_REAL_MODEL_TYPE,
|
| - kStartOrder_IncorrectSize);
|
| +static_assert(arraysize(kStartOrder) ==
|
| + syncer::MODEL_TYPE_COUNT - syncer::FIRST_REAL_MODEL_TYPE,
|
| + "kStartOrder must have MODEL_TYPE_COUNT - "
|
| + "FIRST_REAL_MODEL_TYPE elements");
|
|
|
| // The amount of time we wait for association to finish. If some types haven't
|
| // finished association by the time, DataTypeManager is notified of the
|
|
|