commit | c35f3f6eb8903626bbd7f13f35841539da6a1ed7 | [log] [tgz] |
---|---|---|
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 25 08:00:57 2011 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 11:26:41 2020 +0900 |
tree | 1db7c094e07934516357961264ee89b070402fb4 | |
parent | ca1f93375e84696c92871a48093920cd08b1aa76 [diff] |
Make DetectEncoding() failed when ucsdet_detect() returls NULL. In some cases, DetectEncoding() crashes and the reason may be becasue ucsdet_detect() returns NULL with no error status. (cf. http://crosbug.com/15691) BUG=http://crosbug.com/15691 TEST=none Review URL: http://codereview.chromium.org/7064039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86509 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: f7e7ed6aaf600d99e9db6a4af51eec9d8983cb84