| Index: ash/wm/shelf_layout_manager.cc
|
| diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
|
| index 46023ccb3abe65758c96947a0196fc13f4deaae8..8064f55c195deeea84c3ba98bc1a98789f7aa5e1 100644
|
| --- a/ash/wm/shelf_layout_manager.cc
|
| +++ b/ash/wm/shelf_layout_manager.cc
|
| @@ -879,8 +879,10 @@ ShelfLayoutManager::AutoHideState ShelfLayoutManager::CalculateAutoHideState(
|
| -kNotificationBubbleGapHeight : 0,
|
| 0);
|
| }
|
| - return shelf_region.Contains(gfx::Screen::GetCursorScreenPoint()) ?
|
| - AUTO_HIDE_SHOWN : AUTO_HIDE_HIDDEN;
|
| + return shelf_region.Contains(gfx::Screen::GetCursorScreenPoint(
|
| + ash::Shell::GetRootNativeView())) ?
|
| + AUTO_HIDE_SHOWN :
|
| + AUTO_HIDE_HIDDEN;
|
| }
|
|
|
| void ShelfLayoutManager::UpdateHitTestBounds() {
|
|
|