| Index: chrome/browser/chromeos/preferences.cc
|
| diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
|
| index 06b4030279312c0a73765bc12b9d69b948d3feb6..a511252908a479838880f8d69bc877ba9f3a1350 100644
|
| --- a/chrome/browser/chromeos/preferences.cc
|
| +++ b/chrome/browser/chromeos/preferences.cc
|
| @@ -530,7 +530,7 @@ void Preferences::ApplyPreferences(ApplyReason reason,
|
| }
|
| if (reason != REASON_PREF_CHANGED ||
|
| pref_name == prefs::kTouchHudProjectionEnabled) {
|
| - if (user_is_active) {
|
| + if (user_is_active && ash::Shell::HasInstance()) {
|
| const bool enabled = touch_hud_projection_enabled_.GetValue();
|
| ash::Shell::GetInstance()->SetTouchHudProjectionEnabled(enabled);
|
| }
|
|
|