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

Unified Diff: components/translate/core/common/language_detection_details.cc

Issue 983283002: Fix uninit memory access in TranslateManagerRenderViewHostTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/common/language_detection_details.cc
diff --git a/components/translate/core/common/language_detection_details.cc b/components/translate/core/common/language_detection_details.cc
index d75f0491bbedd22b4f4ad904a8d4d88cefbd3df8..24c7c08d39e383a3a8d39eed5e545b6983f2a1be 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() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698