| Index: chrome/browser/task_management/providers/browser_process_task.cc
|
| diff --git a/chrome/browser/task_management/providers/browser_process_task.cc b/chrome/browser/task_management/providers/browser_process_task.cc
|
| index 0f246ba838cd35ff95a51344c3d54a7f116ea197..854e8504371befa77df93a02b8b124556d5be5b4 100644
|
| --- a/chrome/browser/task_management/providers/browser_process_task.cc
|
| +++ b/chrome/browser/task_management/providers/browser_process_task.cc
|
| @@ -56,18 +56,18 @@ BrowserProcessTask::~BrowserProcessTask() {
|
| }
|
|
|
| void BrowserProcessTask::Refresh(const base::TimeDelta& update_interval,
|
| - int64 refresh_flags) {
|
| + int64_t refresh_flags) {
|
| Task::Refresh(update_interval, refresh_flags);
|
|
|
| if (reports_v8_stats_ && (refresh_flags & REFRESH_TYPE_V8_MEMORY) != 0) {
|
| allocated_v8_memory_ =
|
| - static_cast<int64>(net::ProxyResolverV8::GetTotalHeapSize());
|
| + static_cast<int64_t>(net::ProxyResolverV8::GetTotalHeapSize());
|
| used_v8_memory_ =
|
| - static_cast<int64>(net::ProxyResolverV8::GetUsedHeapSize());
|
| + static_cast<int64_t>(net::ProxyResolverV8::GetUsedHeapSize());
|
| }
|
|
|
| if ((refresh_flags & REFRESH_TYPE_SQLITE_MEMORY) != 0)
|
| - used_sqlite_memory_ = static_cast<int64>(sqlite3_memory_used());
|
| + used_sqlite_memory_ = static_cast<int64_t>(sqlite3_memory_used());
|
| }
|
|
|
| Task::Type BrowserProcessTask::GetType() const {
|
| @@ -78,15 +78,15 @@ int BrowserProcessTask::GetChildProcessUniqueID() const {
|
| return 0;
|
| }
|
|
|
| -int64 BrowserProcessTask::GetSqliteMemoryUsed() const {
|
| +int64_t BrowserProcessTask::GetSqliteMemoryUsed() const {
|
| return used_sqlite_memory_;
|
| }
|
|
|
| -int64 BrowserProcessTask::GetV8MemoryAllocated() const {
|
| +int64_t BrowserProcessTask::GetV8MemoryAllocated() const {
|
| return allocated_v8_memory_;
|
| }
|
|
|
| -int64 BrowserProcessTask::GetV8MemoryUsed() const {
|
| +int64_t BrowserProcessTask::GetV8MemoryUsed() const {
|
| return used_v8_memory_;
|
| }
|
|
|
|
|