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

Unified Diff: base/trace_event/memory_usage_estimator.h

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/heap_profiler_allocation_register.h ('k') | components/tracing/core/proto_zero_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_usage_estimator.h
diff --git a/base/trace_event/memory_usage_estimator.h b/base/trace_event/memory_usage_estimator.h
index 6f02bb93bbbcd155764945f67ab5a1a6056dc6d5..174429fa975a54b5a804bff9792448c5fbe3dfb6 100644
--- a/base/trace_event/memory_usage_estimator.h
+++ b/base/trace_event/memory_usage_estimator.h
@@ -24,7 +24,6 @@
#include "base/base_export.h"
#include "base/containers/linked_list.h"
#include "base/strings/string16.h"
-#include "base/template_util.h"
// Composable memory usage estimators.
//
@@ -207,7 +206,7 @@ template <class T>
struct EMUCaller<
T,
typename std::enable_if<!HasEMU<T>::value &&
- is_trivially_destructible<T>::value>::type> {
+ std::is_trivially_destructible<T>::value>::type> {
static size_t Call(const T& value) { return 0; }
};
« no previous file with comments | « base/trace_event/heap_profiler_allocation_register.h ('k') | components/tracing/core/proto_zero_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698