Index: chrome/test/reliability/automated_ui_test_base.cc |
diff --git a/chrome/test/reliability/automated_ui_test_base.cc b/chrome/test/reliability/automated_ui_test_base.cc |
index 3679435624c62749524945af3ac5626622174b61..ec8a70455809e2e3ea75d85d1dd666196b6ed4d1 100644 |
--- a/chrome/test/reliability/automated_ui_test_base.cc |
+++ b/chrome/test/reliability/automated_ui_test_base.cc |
@@ -317,27 +317,6 @@ bool AutomatedUITestBase::SelectPreviousTab() { |
return RunCommand(IDC_SELECT_PREVIOUS_TAB); |
} |
-bool AutomatedUITestBase::ShowBookmarkBar() { |
- bool is_visible; |
- bool is_animating; |
- bool is_detached; |
- if (!active_browser()->GetBookmarkBarVisibility(&is_visible, |
- &is_animating, |
- &is_detached)) { |
- return false; |
- } |
- |
- if (is_visible) { |
- // If the bar is visible, then issuing the command again will toggle it. |
- return true; |
- } |
- |
- if (!RunCommandAsync(IDC_SHOW_BOOKMARK_BAR)) |
- return false; |
- |
- return WaitForBookmarkBarVisibilityChange(active_browser(), true); |
-} |
- |
bool AutomatedUITestBase::ShowDownloads() { |
return RunCommand(IDC_SHOW_DOWNLOADS); |
} |