Index: components/offline_pages/background/request_coordinator_unittest.cc |
diff --git a/components/offline_pages/background/request_coordinator_unittest.cc b/components/offline_pages/background/request_coordinator_unittest.cc |
index ab506f0aab026eeacf09e13283d31e26ba100f8b..5ce176012d19caa4a2322357380e7f4a03367ae6 100644 |
--- a/components/offline_pages/background/request_coordinator_unittest.cc |
+++ b/components/offline_pages/background/request_coordinator_unittest.cc |
@@ -156,7 +156,7 @@ TEST_F(RequestCoordinatorTest, SavePageLater) { |
EXPECT_TRUE(coordinator()->SavePageLater(kUrl, kClientId)); |
// Expect that a request got placed on the queue. |
- coordinator()->GetQueue()->GetRequests( |
+ coordinator()->queue()->GetRequests( |
base::Bind(&RequestCoordinatorTest::GetRequestsDone, |
base::Unretained(this))); |
@@ -170,7 +170,7 @@ TEST_F(RequestCoordinatorTest, SavePageLater) { |
// Expect that the scheduler got notified. |
SchedulerStub* scheduler_stub = reinterpret_cast<SchedulerStub*>( |
- coordinator()->GetSchedulerForTesting()); |
+ coordinator()->scheduler()); |
EXPECT_TRUE(scheduler_stub->schedule_called()); |
// Check that the offliner callback got a response. |