diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-12 01:59:02 +0000 |
commit | 1d51882f44178fb5bdbf6a7f31e435c9d6de652a (patch) | |
tree | 97388deda6011a2d2897a8d4eea831a6bc56b568 /ash/shell_unittest.cc | |
parent | 9e9a06a3d002a799246a5dbbd9d95aef999185c9 (diff) | |
download | chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.zip chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.gz chromium_src-1d51882f44178fb5bdbf6a7f31e435c9d6de652a.tar.bz2 |
Fixes for -Wunused-function on Linux, Android and ChromeOS
BUG=315884, 78045
TBR=owners
Review URL: https://codereview.chromium.org/67923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_unittest.cc')
-rw-r--r-- | ash/shell_unittest.cc | 15 |
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) { |