| Index: components/sync/syncable/model_type.cc
|
| diff --git a/components/sync/syncable/model_type.cc b/components/sync/syncable/model_type.cc
|
| index 08fa26d6e9b95e366a51f651a0c4428929821434..d256055fcc8e63cab1b1729f751c2cdd65ecdc80 100644
|
| --- a/components/sync/syncable/model_type.cc
|
| +++ b/components/sync/syncable/model_type.cc
|
| @@ -615,11 +615,11 @@ base::StringValue* ModelTypeToValue(ModelType model_type) {
|
| }
|
|
|
| ModelType ModelTypeFromValue(const base::Value& value) {
|
| - if (value.IsType(base::Value::TYPE_STRING)) {
|
| + if (value.IsType(base::Value::Type::STRING)) {
|
| std::string result;
|
| CHECK(value.GetAsString(&result));
|
| return ModelTypeFromString(result);
|
| - } else if (value.IsType(base::Value::TYPE_INTEGER)) {
|
| + } else if (value.IsType(base::Value::Type::INTEGER)) {
|
| int result;
|
| CHECK(value.GetAsInteger(&result));
|
| return ModelTypeFromInt(result);
|
|
|