| Index: ash/shelf/shelf_layout_manager.cc
|
| diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
|
| index 6e9e3c74e90ecb07295a7a9e350ced207c825f16..b68cab4ac6bd99790b49417f5bb7f301db10459c 100644
|
| --- a/ash/shelf/shelf_layout_manager.cc
|
| +++ b/ash/shelf/shelf_layout_manager.cc
|
| @@ -538,7 +538,7 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) {
|
| if (state.visibility_state == SHELF_AUTO_HIDE) {
|
| // When state is SHELF_AUTO_HIDE we need to track when the mouse is over the
|
| // launcher to unhide the shelf. AutoHideEventFilter does that for us.
|
| - if (!event_filter_.get())
|
| + if (!event_filter_)
|
| event_filter_.reset(new AutoHideEventFilter(this));
|
| } else {
|
| event_filter_.reset(NULL);
|
|
|