Index: chrome/browser/visitedlink/visitedlink_unittest.cc |
diff --git a/chrome/browser/visitedlink/visitedlink_unittest.cc b/chrome/browser/visitedlink/visitedlink_unittest.cc |
index 40c97b9dd2bbcbed66dc86fb89b8e39e7fba82d0..1fe0fa3cff24279d292411b8f8b073bcb5fd0c83 100644 |
--- a/chrome/browser/visitedlink/visitedlink_unittest.cc |
+++ b/chrome/browser/visitedlink/visitedlink_unittest.cc |
@@ -701,7 +701,7 @@ TEST_F(VisitedLinkEventsTest, TabVisibility) { |
EXPECT_EQ(0, profile()->reset_event_count()); |
// Simulate the tab becoming active. |
- rvh_tester()->SimulateWasRestored(); |
+ rvh_tester()->SimulateWasShown(); |
// We should now have 3 add events, still no reset events. |
EXPECT_EQ(1, profile()->add_event_count()); |
@@ -721,7 +721,7 @@ TEST_F(VisitedLinkEventsTest, TabVisibility) { |
EXPECT_EQ(0, profile()->reset_event_count()); |
// Activate the tab. |
- rvh_tester()->SimulateWasRestored(); |
+ rvh_tester()->SimulateWasShown(); |
// We should have only one more reset event. |
EXPECT_EQ(1, profile()->add_event_count()); |