Index: base/debug/trace_event.h |
diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h |
index 619b0ab6dc5a0f8a1ff72583c189f373ae333912..c17c0083a31cde8380ceb6fa84309e2eb22c32e2 100644 |
--- a/base/debug/trace_event.h |
+++ b/base/debug/trace_event.h |
@@ -788,8 +788,6 @@ |
// Defines visibility for classes in trace_event.h |
#define TRACE_EVENT_API_CLASS_EXPORT BASE_EXPORT |
-// Not supported in split-dll build. http://crbug.com/256965 |
-#if !defined(CHROME_SPLIT_DLL) |
// The thread buckets for the sampling profiler. |
TRACE_EVENT_API_CLASS_EXPORT extern \ |
TRACE_EVENT_API_ATOMIC_WORD g_trace_state[3]; |
@@ -797,8 +795,6 @@ TRACE_EVENT_API_CLASS_EXPORT extern \ |
#define TRACE_EVENT_API_THREAD_BUCKET(thread_bucket) \ |
g_trace_state[thread_bucket] |
-#endif |
- |
//////////////////////////////////////////////////////////////////////////////// |
// Implementation detail: trace event macros create temporary variables |
@@ -1489,23 +1485,15 @@ class TraceEventSamplingStateScope { |
} |
static inline const char* Current() { |
-// Not supported in split-dll build. http://crbug.com/256965 |
-#if !defined(CHROME_SPLIT_DLL) |
return reinterpret_cast<const char*>(TRACE_EVENT_API_ATOMIC_LOAD( |
g_trace_state[BucketNumber])); |
-#else |
- return NULL; |
-#endif |
} |
static inline void Set(const char* category_and_name) { |
-// Not supported in split-dll build. http://crbug.com/256965 |
-#if !defined(CHROME_SPLIT_DLL) |
TRACE_EVENT_API_ATOMIC_STORE( |
g_trace_state[BucketNumber], |
reinterpret_cast<TRACE_EVENT_API_ATOMIC_WORD>( |
const_cast<char*>(category_and_name))); |
-#endif |
} |
private: |