Index: components/translate/core/common/translation_logging_helper_unittest.cc |
diff --git a/components/translate/core/common/translation_logging_helper_unittest.cc b/components/translate/core/common/translation_logging_helper_unittest.cc |
index d25247bba7b1dfe1803879d6b85793fc00de1a1a..62046de7af8093c028a59cf00e573c7bde878119 100644 |
--- a/components/translate/core/common/translation_logging_helper_unittest.cc |
+++ b/components/translate/core/common/translation_logging_helper_unittest.cc |
@@ -42,7 +42,8 @@ TEST(TranslationLoggingHelperTest, ConstructUserEventSpecifics) { |
navigation_id, translation_event, &user_specifics); |
EXPECT_TRUE(needs_logging); |
EXPECT_EQ(user_specifics.navigation_id(), navigation_id); |
- EqualTranslationProto(user_translation_event, user_specifics.translation()); |
+ EqualTranslationProto(user_translation_event, |
+ user_specifics.translation_event()); |
} |
// Tests that if user change the target language, the event is MANUAL. |
@@ -65,7 +66,8 @@ TEST(TranslationLoggingHelperTest, UserManualEvent) { |
navigation_id, translation_event, &user_specifics); |
EXPECT_TRUE(needs_logging); |
EXPECT_EQ(user_specifics.navigation_id(), navigation_id); |
- EqualTranslationProto(user_translation_event, user_specifics.translation()); |
+ EqualTranslationProto(user_translation_event, |
+ user_specifics.translation_event()); |
} |
// Tests that we don't build unnecessary events. |
@@ -84,4 +86,4 @@ TEST(TranslationLoggingHelperTest, DontBuildUnnecessaryEvent) { |
EXPECT_FALSE(needs_logging); |
} |
-} // namespace translate |
+} // namespace translate |