From 7794cabd130b905f649c8d0f5f9d6cfc7b3f7884 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 26 May 2017 08:35:43 -0700 Subject: [PATCH] :art: --- atom/browser/api/atom_api_app.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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)); }