From e17531f3784d8f1bbe45dd057068d5441379e036 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Thu, 17 Dec 2009 07:57:38 +0000 Subject: The reliability tests are reporting lots of crashers in the CLD library. Temporarily disabling the CLD detection while investigating. BUG=30662 TEST=None TBR=brettw Review URL: http://codereview.chromium.org/500091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34816 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cld_helper.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser') diff --git a/chrome/browser/cld_helper.cc b/chrome/browser/cld_helper.cc index f38a6a2..4bed10e 100644 --- a/chrome/browser/cld_helper.cc +++ b/chrome/browser/cld_helper.cc @@ -32,12 +32,16 @@ void CLDHelper::DetectLanguage() { void CLDHelper::DoDetectLanguage() { #if defined(OS_WIN) // Only for windows. +// TODO(jcampan): http://crbug.com/30662 the detection language library crashes +// on some sites and has been temporarily disabled. +#if 0 int num_languages = 0; bool is_reliable = false; const char* language_iso_code = LanguageCodeISO639_1( DetectLanguageOfUnicodeText(page_content_.c_str(), true, &is_reliable, &num_languages, NULL)); language_ = language_iso_code; +#endif #else // TODO(jcampan): port the compact language detection library. NOTIMPLEMENTED(); -- cgit v1.1