| Index: Source/platform/fonts/FontDescription.cpp
|
| diff --git a/Source/platform/fonts/FontDescription.cpp b/Source/platform/fonts/FontDescription.cpp
|
| index 3cf71204176eb6e92860697d4aba2939926362dd..b26c41fbcfd00fe2e4aa18aa40964059dd6be770 100644
|
| --- a/Source/platform/fonts/FontDescription.cpp
|
| +++ b/Source/platform/fonts/FontDescription.cpp
|
| @@ -131,9 +131,9 @@ static const AtomicString& defaultLocale()
|
| return locale;
|
| }
|
|
|
| -const AtomicString& FontDescription::locale() const
|
| +const AtomicString& FontDescription::locale(bool includeDefault) const
|
| {
|
| - if (m_locale.isNull())
|
| + if (m_locale.isNull() && includeDefault)
|
| return defaultLocale();
|
| return m_locale;
|
| }
|
|
|