| Index: ash/accelerators/accelerator_controller.cc
|
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
|
| index 4e06455c59a0d117434af3e32157e1a62d03a814..fa650865bac8c93a99039fa40adcb15571bec149 100644
|
| --- a/ash/accelerators/accelerator_controller.cc
|
| +++ b/ash/accelerators/accelerator_controller.cc
|
| @@ -16,7 +16,6 @@
|
| #include "ash/media_controller.h"
|
| #include "ash/multi_profile_uma.h"
|
| #include "ash/new_window_controller.h"
|
| -#include "ash/palette_delegate.h"
|
| #include "ash/resources/vector_icons/vector_icons.h"
|
| #include "ash/root_window_controller.h"
|
| #include "ash/rotator/window_rotation.h"
|
| @@ -519,8 +518,7 @@ void HandleShowStylusTools() {
|
| }
|
|
|
| bool CanHandleShowStylusTools() {
|
| - return Shell::Get()->palette_delegate() &&
|
| - Shell::Get()->palette_delegate()->ShouldShowPalette();
|
| + return palette_utils::ShouldShowPalette();
|
| }
|
|
|
| void HandleSuspend() {
|
|
|