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

Unified Diff: third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h

Issue 2679313002: Update Crashpad to 88442dd5788bf7836ab013939cca4a4683560cb0 (Closed)
Patch Set: Created 3 years, 10 months 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
Index: third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h
diff --git a/third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h b/third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h
index fec234d0bcde73d1246c939fdeeea8b54a6d40d0..396799bec936f420ada7896c4c7ae38696869a15 100644
--- a/third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h
+++ b/third_party/crashpad/crashpad/snapshot/mac/process_types/traits.h
@@ -22,7 +22,8 @@
// DECLARE_PROCESS_TYPE_TRAITS_CLASS before #including this file again and after
// the last #include of this file.
//
-// |Reserved*| are used for padding fields that may be zero-length, and thus
+// |Reserved*| is used for padding fields that may be zero-length, and |Nothing|
+// is always zero-length and is used solely as an anchor to compute offsets.
// __VA_ARGS__, which is intended to set the alignment of the 64-bit types, is
// not used for those type aliases.
#define DECLARE_PROCESS_TYPE_TRAITS_CLASS(traits_name, lp_bits, ...) \
@@ -37,6 +38,7 @@
using UIntPtr = uint##lp_bits##_t __VA_ARGS__; \
using Reserved32_64Only = Reserved32_64Only##lp_bits; \
using Reserved64_64Only = Reserved64_64Only##lp_bits; \
+ using Nothing = Nothing; \
}; \
} \
} \

Powered by Google App Engine
This is Rietveld 408576698