| Index: components/translate/core/common/translation_logging_helper.cc
|
| diff --git a/components/translate/core/common/translation_logging_helper.cc b/components/translate/core/common/translation_logging_helper.cc
|
| index 8b31b643d35e761d5f4846c3e95daaa91a59233f..f0d4c1c749dc26771bfe3e05b8b4f010c361e330 100644
|
| --- a/components/translate/core/common/translation_logging_helper.cc
|
| +++ b/components/translate/core/common/translation_logging_helper.cc
|
| @@ -22,7 +22,7 @@ bool ConstructTranslateEvent(const int64_t navigation_id,
|
| // TODO(renjieliu): Revisit this field when the best way to identify
|
| // navigations is determined.
|
| specifics->set_navigation_id(navigation_id);
|
| - auto* const translation = specifics->mutable_translation();
|
| + auto* const translation = specifics->mutable_translation_event();
|
| translation->set_from_language_code(translate_event.source_language());
|
| translation->set_to_language_code(translate_event.target_language());
|
| switch (translate_event.event_type()) {
|
| @@ -73,4 +73,4 @@ bool ConstructTranslateEvent(const int64_t navigation_id,
|
| }
|
| return true;
|
| }
|
| -} // namespace translate
|
| +} // namespace translate
|
|
|