summaryrefslogtreecommitdiffstats
path: root/components/translate
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-03-09 06:08:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-09 13:09:19 +0000
commit63231b5edb0d74f7997924801698dda869899e6c (patch)
tree5551eea76fb34fd6cc1fbd257955718278d1f48d /components/translate
parentea764811d0f4a41ef8bb9768737bc6f7dde6f27f (diff)
downloadchromium_src-63231b5edb0d74f7997924801698dda869899e6c.zip
chromium_src-63231b5edb0d74f7997924801698dda869899e6c.tar.gz
chromium_src-63231b5edb0d74f7997924801698dda869899e6c.tar.bz2
Fix uninit memory access in TranslateManagerRenderViewHostTests.
BUG=464837 Review URL: https://codereview.chromium.org/983283002 Cr-Commit-Position: refs/heads/master@{#319614}
Diffstat (limited to 'components/translate')
-rw-r--r--components/translate/core/common/language_detection_details.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/translate/core/common/language_detection_details.cc b/components/translate/core/common/language_detection_details.cc
index d75f049..24c7c08 100644
--- a/components/translate/core/common/language_detection_details.cc
+++ b/components/translate/core/common/language_detection_details.cc
@@ -6,7 +6,9 @@
namespace translate {
-LanguageDetectionDetails::LanguageDetectionDetails() {}
+LanguageDetectionDetails::LanguageDetectionDetails()
+ : is_cld_reliable(false) {
+}
LanguageDetectionDetails::~LanguageDetectionDetails() {}