Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: util/win/process_structs.h

Issue 1462203002: win: class VM_COUNTERS -> struct (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/process_structs.h
diff --git a/util/win/process_structs.h b/util/win/process_structs.h
index 5850ddec75b61de934d0f1d552776a5184164719..e33c4fb0a86b39a2b9d367c1f590b3007706a97d 100644
--- a/util/win/process_structs.h
+++ b/util/win/process_structs.h
@@ -360,10 +360,10 @@ struct SYSTEM_THREAD_INFORMATION {
// There's an extra field in the x64 VM_COUNTERS (or maybe it's VM_COUNTERS_EX,
// it's not clear), so we just make separate specializations for 32/64.
template <class Traits>
-class VM_COUNTERS {};
+struct VM_COUNTERS {};
template <>
-class VM_COUNTERS<internal::Traits32> {
+struct VM_COUNTERS<internal::Traits32> {
SIZE_T PeakVirtualSize;
SIZE_T VirtualSize;
ULONG PageFaultCount;
@@ -378,7 +378,7 @@ class VM_COUNTERS<internal::Traits32> {
};
template <>
-class VM_COUNTERS<internal::Traits64> {
+struct VM_COUNTERS<internal::Traits64> {
SIZE_T PeakVirtualSize;
SIZE_T VirtualSize;
union {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698