diff options
Diffstat (limited to 'chromium/components/arc/power')
-rw-r--r-- | chromium/components/arc/power/arc_power_bridge.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/components/arc/power/arc_power_bridge.cc b/chromium/components/arc/power/arc_power_bridge.cc index 89d3c85c16a..0ab1ebed483 100644 --- a/chromium/components/arc/power/arc_power_bridge.cc +++ b/chromium/components/arc/power/arc_power_bridge.cc @@ -151,7 +151,7 @@ void ArcPowerBridge::FlushWakeLocksForTesting() { } void ArcPowerBridge::OnConnectionReady() { - // TODO(mash): Support this functionality without ash::Shell access in Chrome. + // ash::Shell may not exist in tests. if (ash::Shell::HasInstance()) ash::Shell::Get()->display_configurator()->AddObserver(this); chromeos::PowerManagerClient::Get()->AddObserver(this); @@ -161,7 +161,7 @@ void ArcPowerBridge::OnConnectionReady() { } void ArcPowerBridge::OnConnectionClosed() { - // TODO(mash): Support this functionality without ash::Shell access in Chrome. + // ash::Shell may not exist in tests. if (ash::Shell::HasInstance()) ash::Shell::Get()->display_configurator()->RemoveObserver(this); chromeos::PowerManagerClient::Get()->RemoveObserver(this); |