chore: run clang-format

- atom/
 - brightray/
 - chromium_src/
This commit is contained in:
Aleksei Kuzmin 2018-09-19 13:10:26 +02:00
parent ec125b761c
commit 7fc3bcaa02
35 changed files with 98 additions and 98 deletions

View file

@ -61,10 +61,8 @@ void PowerSaveBlocker::UpdatePowerSaveBlocker() {
device::mojom::WakeLockType new_blocker_type =
device::mojom::WakeLockType::kPreventAppSuspension;
for (const auto& element : power_save_blocker_types_) {
if (element.second ==
device::mojom::WakeLockType::kPreventDisplaySleep) {
new_blocker_type =
device::mojom::WakeLockType::kPreventDisplaySleep;
if (element.second == device::mojom::WakeLockType::kPreventDisplaySleep) {
new_blocker_type = device::mojom::WakeLockType::kPreventDisplaySleep;
break;
}
}