Index: chrome/browser/after_startup_task_utils_unittest.cc |
diff --git a/chrome/browser/after_startup_task_utils_unittest.cc b/chrome/browser/after_startup_task_utils_unittest.cc |
index adc5dba47a880a4c345062ed143f3753afce2eb8..5d51db4c07a47575bbac8efc9ad775b8726c8704 100644 |
--- a/chrome/browser/after_startup_task_utils_unittest.cc |
+++ b/chrome/browser/after_startup_task_utils_unittest.cc |
@@ -139,7 +139,7 @@ TEST_F(AfterStartupTaskTest, IsStartupComplete) { |
// the DCHECK in CancellationFlag::Set(). |
EXPECT_FALSE(GetIsBrowserStartupCompleteFromDBThread()); |
EXPECT_FALSE(AfterStartupTaskUtils::IsBrowserStartupComplete()); |
- AfterStartupTaskUtils::SetBrowserStartupIsComplete(); |
+ AfterStartupTaskUtils::SetBrowserStartupIsCompleteForTesting(); |
EXPECT_TRUE(AfterStartupTaskUtils::IsBrowserStartupComplete()); |
EXPECT_TRUE(GetIsBrowserStartupCompleteFromDBThread()); |
} |
@@ -167,7 +167,7 @@ TEST_F(AfterStartupTaskTest, PostTask) { |
EXPECT_EQ(0, db_thread_->total_task_count() + ui_thread_->total_task_count()); |
// Queued tasks should be posted upon setting the flag. |
- AfterStartupTaskUtils::SetBrowserStartupIsComplete(); |
+ AfterStartupTaskUtils::SetBrowserStartupIsCompleteForTesting(); |
EXPECT_EQ(2, db_thread_->posted_task_count()); |
EXPECT_EQ(2, ui_thread_->posted_task_count()); |
FlushDBThread(); |