diff --git a/src/dawn/native/Features.cpp b/src/dawn/native/Features.cpp index e43da124e8..d375b2072e 100644 --- a/src/dawn/native/Features.cpp +++ b/src/dawn/native/Features.cpp @@ -233,23 +233,6 @@ Feature FeaturesInfo::FeatureNameToEnum(const char* featureName) const { if (iter != mFeatureNameToEnumMap.cend()) { return kFeatureNameAndInfoList[static_cast(iter->second)].feature; } - - // TODO(dawn:550): Remove this fallback logic when Chromium is updated. - constexpr std::array, 6> kReplacementsForDeprecatedNames = { - { - {"texture_compression_bc", "texture-compression-bc"}, - {"depth_clamping", "depth-clamping"}, - {"pipeline_statistics_query", "pipeline-statistics-query"}, - {"shader_float16", "shader-float16"}, - {"timestamp_query", "timestamp-query"}, - {"multiplanar_formats", "multiplanar-formats"}, - }}; - for (const auto& [name, replacement] : kReplacementsForDeprecatedNames) { - if (strcmp(featureName, name) == 0) { - return FeatureNameToEnum(replacement); - } - } - return Feature::InvalidEnum; }