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

Unified Diff: components/tracing/core/proto_zero_message.cc

Issue 2792183003: Remove base::is_trivially_destructible and use the standard library. (Closed)
Patch Set: triviallydestruct: rm-tests Created 3 years, 8 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
« no previous file with comments | « base/trace_event/memory_usage_estimator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/core/proto_zero_message.cc
diff --git a/components/tracing/core/proto_zero_message.cc b/components/tracing/core/proto_zero_message.cc
index a555683428cacbfc3b0a2cd007fdf3b5f89037c6..20785476d1364000b4f7b081fee1b69826bd07bd 100644
--- a/components/tracing/core/proto_zero_message.cc
+++ b/components/tracing/core/proto_zero_message.cc
@@ -24,7 +24,7 @@ ProtoZeroMessage::ProtoZeroMessage() {
// |nested_messages_arena_| and implictly destroyed when the arena of the
// root message goes away. This is fine as long as all the fields are PODs,
// hence the static_assert below.
- static_assert(base::is_trivially_destructible<ProtoZeroMessage>::value,
+ static_assert(std::is_trivially_destructible<ProtoZeroMessage>::value,
"ProtoZeroMessage must be trivially destructible");
static_assert(
« no previous file with comments | « base/trace_event/memory_usage_estimator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698