Fixing indentations

This commit is contained in:
Hari Krishna Reddy Juturu 2017-05-24 21:15:34 -07:00
parent e5a9ef296d
commit c4e5ba6015
2 changed files with 7 additions and 19 deletions

View file

@ -508,12 +508,7 @@ App::App(v8::Isolate* isolate) {
Browser::Get()->AddObserver(this);
content::GpuDataManager::GetInstance()->AddObserver(this);
content::BrowserChildProcessObserver::Add(this);
int pid = 0;
#if defined(OS_WIN)
pid = GetCurrentProcessId();
#elif defined(OS_POSIX)
pid = getpid();
#endif
base::ProcessId pid = base::GetCurrentProcId();
std::unique_ptr<atom::ProcessMetric> process_metric(
new atom::ProcessMetric(
"Browser",
@ -691,8 +686,7 @@ void App::BrowserChildProcessLaunchedAndConnected(
void App::BrowserChildProcessHostDisconnected(
const content::ChildProcessData& data) {
this->ChildProcessDisconnected(
base::GetProcId(data.handle));
this->ChildProcessDisconnected(base::GetProcId(data.handle));
}
void App::RenderProcessReady(
@ -704,8 +698,7 @@ void App::RenderProcessReady(
void App::RenderProcessDisconnected(
content::RenderProcessHost* host) {
this->ChildProcessDisconnected(
base::GetProcId(host->GetHandle()));
this->ChildProcessDisconnected(base::GetProcId(host->GetHandle()));
}
void App::ChildProcessLaunched(