From 4ddd337a6406031caac8b6f1c2d8f017f6202760 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 9 Jan 2019 15:16:29 -0800 Subject: [PATCH] CurrentProcessInfo::CreationTime -> Process::Current().CreationTime() https://chromium-review.googlesource.com/c/1280642 --- atom/common/api/atom_bindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/common/api/atom_bindings.cc b/atom/common/api/atom_bindings.cc index 915817165711..850a9d155906 100644 --- a/atom/common/api/atom_bindings.cc +++ b/atom/common/api/atom_bindings.cc @@ -19,8 +19,8 @@ #include "atom/common/native_mate_converters/string16_converter.h" #include "atom/common/promise_util.h" #include "base/logging.h" +#include "base/process/process.h" #include "base/process/process_handle.h" -#include "base/process/process_info.h" #include "base/process/process_metrics_iocounters.h" #include "base/system/sys_info.h" #include "base/threading/thread_restrictions.h" @@ -189,7 +189,7 @@ v8::Local AtomBindings::GetHeapStatistics(v8::Isolate* isolate) { // static v8::Local AtomBindings::GetCreationTime(v8::Isolate* isolate) { - auto timeValue = base::CurrentProcessInfo::CreationTime(); + auto timeValue = base::Process::Current().CreationTime(); if (timeValue.is_null()) { return v8::Null(isolate); }