summaryrefslogtreecommitdiffstats
path: root/ash/shell_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell_unittest.cc')
-rw-r--r--ash/shell_unittest.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index 4004c20..7bd36af 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -459,21 +459,6 @@ TEST_F(ShellTest, FullscreenWindowHidesShelf) {
widget->Close();
}
-namespace {
-
-// Builds the list of parents from |window| to the root. The returned vector is
-// in reverse order (|window| is first).
-std::vector<aura::Window*> BuildPathToRoot(aura::Window* window) {
- std::vector<aura::Window*> results;
- while (window) {
- results.push_back(window);
- window = window->parent();
- }
- return results;
-}
-
-} // namespace
-
// Various assertions around SetShelfAutoHideBehavior() and
// GetShelfAutoHideBehavior().
TEST_F(ShellTest, ToggleAutoHide) {