diff --git a/atom/browser/api/atom_api_app.cc b/atom/browser/api/atom_api_app.cc index dbd44a40dc74..93cb4fd52a77 100644 --- a/atom/browser/api/atom_api_app.cc +++ b/atom/browser/api/atom_api_app.cc @@ -995,16 +995,15 @@ std::vector App::GetAppMetrics(v8::Isolate* isolate) { mate::Dictionary cpu_dict = mate::Dictionary::CreateEmpty(isolate); memory_dict.Set("workingSetSize", - static_cast( - process_metric.second->metrics->GetWorkingSetSize() >> 10)); + static_cast( + process_metric.second->metrics->GetWorkingSetSize() >> 10)); memory_dict.Set("peakWorkingSetSize", - static_cast( - process_metric.second->metrics->GetPeakWorkingSetSize() >> 10)); + static_cast( + process_metric.second->metrics->GetPeakWorkingSetSize() >> 10)); size_t private_bytes, shared_bytes; - if (process_metric.second->metrics->GetMemoryBytes( - &private_bytes, - &shared_bytes)) { + if (process_metric.second->metrics->GetMemoryBytes(&private_bytes, + &shared_bytes)) { memory_dict.Set("privateBytes", static_cast(private_bytes >> 10)); memory_dict.Set("sharedBytes", static_cast(shared_bytes >> 10)); }