| Index: third_party/WebKit/Source/platform/Language.cpp
|
| diff --git a/third_party/WebKit/Source/platform/Language.cpp b/third_party/WebKit/Source/platform/Language.cpp
|
| index 26a6d6523eebe6eea05def004f7bb6437a6ba45e..be684ab8c24aa9c919f391f70ffc7cab6b442e5b 100644
|
| --- a/third_party/WebKit/Source/platform/Language.cpp
|
| +++ b/third_party/WebKit/Source/platform/Language.cpp
|
| @@ -112,9 +112,10 @@ size_t indexOfBestMatchingLanguageInList(
|
| }
|
| }
|
|
|
| - // If we have both a language-only match and a languge-but-not-locale match, return the
|
| - // languge-only match as is considered a "better" match. For example, if the list
|
| - // provided has both "en-GB" and "en" and the user prefers "en-US" we will return "en".
|
| + // If we have both a language-only match and a languge-but-not-locale match,
|
| + // return the languge-only match as is considered a "better" match. For
|
| + // example, if the list provided has both "en-GB" and "en" and the user
|
| + // prefers "en-US" we will return "en".
|
| if (languageWithoutLocaleMatch.length())
|
| return languageWithoutLocaleMatchIndex;
|
|
|
|
|