| Index: ash/shelf/shelf_layout_manager_unittest.cc
|
| diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
|
| index 0c867b7847f31473dd3ca52452df751a5fb2278b..95713ce0c49ee129513a40e59422a7931bb66942 100644
|
| --- a/ash/shelf/shelf_layout_manager_unittest.cc
|
| +++ b/ash/shelf/shelf_layout_manager_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ash/common/material_design/material_design_controller.h"
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/shelf/shelf_constants.h"
|
| +#include "ash/common/shelf/shelf_view.h"
|
| #include "ash/common/shell_window_ids.h"
|
| #include "ash/common/system/status_area_widget.h"
|
| #include "ash/common/system/tray/system_tray.h"
|
| @@ -22,7 +23,6 @@
|
| #include "ash/root_window_controller.h"
|
| #include "ash/shelf/shelf.h"
|
| #include "ash/shelf/shelf_layout_manager_observer.h"
|
| -#include "ash/shelf/shelf_view.h"
|
| #include "ash/shelf/shelf_widget.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| @@ -190,7 +190,7 @@ class ShelfDragCallback {
|
| float scroll_delta =
|
| GetShelfLayoutManager()->PrimaryAxisValue(scroll_.y(), scroll_.x());
|
| bool increasing_drag =
|
| - GetShelfWidget()->shelf()->SelectValueForShelfAlignment(
|
| + GetShelfLayoutManager()->SelectValueForShelfAlignment(
|
| scroll_delta<0, scroll_delta> 0, scroll_delta < 0);
|
| int shelf_size = GetShelfLayoutManager()->PrimaryAxisValue(
|
| shelf_bounds.height(), shelf_bounds.width());
|
|
|