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

Unified Diff: third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc

Issue 1956183002: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/cld/encodings/compact_lang_det/win/cld_unicodetext.cc
diff --git a/third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc b/third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc
index e5f08dabd103491067a1bc90a75e342b8e905e84..93c3eb3bfc6e9fe759af2b2014b0536d470eae39 100644
--- a/third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc
+++ b/third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc
@@ -72,8 +72,6 @@ Language DetectLanguageOfUnicodeText(
*num_languages = 0;
if (text_bytes)
*text_bytes = text_bytes_tmp;
- COMPILE_ASSERT(arraysize(language3) == arraysize(percent3),
- language3_and_percent3_should_be_of_the_same_size);
for (int i = 0; i < arraysize(language3); ++i) {
if (IsValidLanguage(language3[i]) && !IS_LANGUAGE_UNKNOWN(language3[i]) &&
percent3[i] >= kMinTextPercentToCountLanguage) {
« no previous file with comments | « third_party/cld/encodings/compact_lang_det/win/cld_commandlineflags.h ('k') | third_party/cld/encodings/internal/encodings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698