Index: chrome/browser/task_management/sampling/task_group_sampler.h |
diff --git a/chrome/browser/task_management/sampling/task_group_sampler.h b/chrome/browser/task_management/sampling/task_group_sampler.h |
index b70b6eb6288b92302f673e973360b9dc86af177e..00e33c8b8169383e4af07b1c8c8c20c139c02c08 100644 |
--- a/chrome/browser/task_management/sampling/task_group_sampler.h |
+++ b/chrome/browser/task_management/sampling/task_group_sampler.h |
@@ -22,15 +22,14 @@ namespace task_management { |
// Wraps the memory usage stats values together so that it can be sent between |
// the UI and the worker threads. |
struct MemoryUsageStats { |
- int64_t private_bytes; |
- int64_t shared_bytes; |
- int64_t physical_bytes; |
- |
- MemoryUsageStats() |
- : private_bytes(-1), |
- shared_bytes(-1), |
- physical_bytes(-1) { |
- } |
+ int64_t private_bytes = -1; |
+ int64_t shared_bytes = -1; |
+ int64_t physical_bytes = -1; |
+#if defined(OS_CHROMEOS) |
+ int64_t swapped_bytes = -1; |
+#endif |
+ |
+ MemoryUsageStats() {} |
}; |
// Defines the expensive process' stats sampler that will calculate these |