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 ca6b3632dbb3ea2ee7b89456ce828f73cd750d14..9ff737fac822ce06b5fae4e0256fff68e245f4ae 100644 |
--- a/components/offline_pages/background/request_coordinator_unittest.cc |
+++ b/components/offline_pages/background/request_coordinator_unittest.cc |
@@ -154,7 +154,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))); |
@@ -168,7 +168,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. |