Index: ash/shell_unittest.cc |
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc |
index 4004c20133b14d75745bcde37c043fa6e25ed051..7bd36af2f20f3bcb1b8f1d739d752e0a0972ebc2 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) { |