summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authormfomitchev <mfomitchev@chromium.org>2016-03-24 13:23:13 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-24 20:25:05 +0000
commitc3cd5ddcd35e787b7cdb57c76919772ec539bfb7 (patch)
treec2b63181a8044fbf8ca8ba5b0d1791b6655b1c56 /ash
parentbf0d713a72db33bdf6c51d65f009f73e822db3e0 (diff)
downloadchromium_src-c3cd5ddcd35e787b7cdb57c76919772ec539bfb7.zip
chromium_src-c3cd5ddcd35e787b7cdb57c76919772ec539bfb7.tar.gz
chromium_src-c3cd5ddcd35e787b7cdb57c76919772ec539bfb7.tar.bz2
Removing the use of GetAppListWindow from ash.
(The call was re-introduced recently crrev.com/1816753002) BUG=NONE Review URL: https://codereview.chromium.org/1829123002 Cr-Commit-Position: refs/heads/master@{#383132}
Diffstat (limited to 'ash')
-rw-r--r--ash/shelf/shelf_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index 3a19798..5c9e60a 100644
--- a/ash/shelf/shelf_view.cc
+++ b/ash/shelf/shelf_view.cc
@@ -530,7 +530,7 @@ bool ShelfView::ShouldHideTooltip(const gfx::Point& cursor_location) const {
bool ShelfView::ShouldShowTooltipForView(const views::View* view) const {
if (view == GetAppListButtonView() &&
- Shell::GetInstance()->GetAppListWindow()) {
+ Shell::GetInstance()->GetAppListTargetVisibility()) {
return false;
}
const ShelfItem* item = ShelfItemForView(view);