| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 37178b2943fee552d0cfd3da7a05ed7a4b19066f..6eb130fc7037a73d60972f58f0107250f36e9e1c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -6251,7 +6251,7 @@ Locale& Document::getCachedLocale(const AtomicString& locale) {
|
| !RuntimeEnabledFeatures::langAttributeAwareFormControlUIEnabled())
|
| return Locale::defaultLocale();
|
| LocaleIdentifierToLocaleMap::AddResult result =
|
| - m_localeCache.add(localeKey, nullptr);
|
| + m_localeCache.insert(localeKey, nullptr);
|
| if (result.isNewEntry)
|
| result.storedValue->value = Locale::create(localeKey);
|
| return *(result.storedValue->value);
|
|
|