Index: chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc |
diff --git a/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc b/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc |
index 7fcb91d05f73d56eb223d110173c8530b01abd4f..7505514aba45eedb2ea595a340d7877c14d56c50 100644 |
--- a/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc |
+++ b/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc |
@@ -20,7 +20,9 @@ namespace { |
InputDeviceSettings* g_instance = nullptr; |
std::unique_ptr<ui::InputController> CreateStubInputControllerIfNecessary() { |
- return shell::ShellIsRemote() ? ui::CreateStubInputController() : nullptr; |
+ return service_manager::ServiceManagerIsRemote() |
+ ? ui::CreateStubInputController() |
+ : nullptr; |
} |
// InputDeviceSettings for Linux without X11 (a.k.a. Ozone). |