Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(884)

Unified Diff: third_party/WebKit/Source/platform/Language.cpp

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/platform/KeyboardCodes.h ('k') | third_party/WebKit/Source/platform/LayoutLocaleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698