Chromium Code Reviews| 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..77a48641d0741b8c9d757876e2c9396a977f5013 100644 |
| --- a/ash/wm/shelf_layout_manager.cc |
| +++ b/ash/wm/shelf_layout_manager.cc |
| @@ -879,8 +879,9 @@ ShelfLayoutManager::AutoHideState ShelfLayoutManager::CalculateAutoHideState( |
| -kNotificationBubbleGapHeight : 0, |
| 0); |
| } |
| - return shelf_region.Contains(gfx::Screen::GetCursorScreenPoint()) ? |
| - AUTO_HIDE_SHOWN : AUTO_HIDE_HIDDEN; |
| + return shelf_region.Contains(Shell::GetAshScreen()->GetCursorScreenPoint()) ? |
| + AUTO_HIDE_SHOWN : |
| + AUTO_HIDE_HIDDEN; |
|
oshima
2012/10/10 17:58:23
I slightly prefer the original format, but I'll le
scottmg
2012/10/10 19:04:47
Done.
|
| } |
| void ShelfLayoutManager::UpdateHitTestBounds() { |