Index: chrome/browser/history/history_browsertest.cc |
diff --git a/chrome/browser/history/history_browsertest.cc b/chrome/browser/history/history_browsertest.cc |
index a333e0489a76cadd00bbcd88b0e41171fa3f8f7f..82cbb9943468869d3ca9098878dd3b09561bb8d1 100644 |
--- a/chrome/browser/history/history_browsertest.cc |
+++ b/chrome/browser/history/history_browsertest.cc |
@@ -143,8 +143,6 @@ IN_PROC_BROWSER_TEST_F(HistoryBrowserTest, SavingHistoryEnabled) { |
// Test that disabling saving browser history really works. |
IN_PROC_BROWSER_TEST_F(HistoryBrowserTest, SavingHistoryDisabled) { |
- base::TimeTicks start_time = base::TimeTicks::Now(); |
- |
GetPrefs()->SetBoolean(prefs::kSavingBrowserHistoryDisabled, true); |
EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS)); |
@@ -161,8 +159,6 @@ IN_PROC_BROWSER_TEST_F(HistoryBrowserTest, SavingHistoryDisabled) { |
// Test that changing the pref takes effect immediately |
// when the browser is running. |
IN_PROC_BROWSER_TEST_F(HistoryBrowserTest, SavingHistoryEnabledThenDisabled) { |
- base::TimeTicks start_time = base::TimeTicks::Now(); |
- |
EXPECT_FALSE(GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled)); |
ui_test_utils::WaitForHistoryToLoad(browser()); |