diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/property_registry.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/property_registry.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/property_registry.cc b/chromium/third_party/blink/renderer/core/css/property_registry.cc index 226faaf9dfd..6150a8336f1 100644 --- a/chromium/third_party/blink/renderer/core/css/property_registry.cc +++ b/chromium/third_party/blink/renderer/core/css/property_registry.cc @@ -32,9 +32,10 @@ const PropertyRegistration* PropertyRegistry::Registration( // the registration from CSS.registerProperty must win. // // https://drafts.css-houdini.org/css-properties-values-api-1/#determining-registration - if (const auto* registration = registered_properties_.at(name)) + if (const auto* registration = + registered_properties_.DeprecatedAtOrEmptyValue(name)) return registration; - return declared_properties_.at(name); + return declared_properties_.DeprecatedAtOrEmptyValue(name); } bool PropertyRegistry::IsEmpty() const { |