AshTestBase should install a default TestPaletteDelegate |
|
Issue descriptionCurrently any code using Shell::Get()->palette_delegate() will crash when invoked from a test, unless that test installs a palette delegate. The only workaround is to check Shell::Get()->palette_delegate() for null before using which is cumbersome (example: https://chromium-review.googlesource.com/c/602784/4/ash/system/palette/tools/metalayer_mode.cc#74) |
|
►
Sign in to add a comment |
|
Comment 1 by kaznacheev@chromium.org
, Oct 11 2017