Index: base/debug/trace_event.h |
=================================================================== |
--- base/debug/trace_event.h (revision 212608) |
+++ base/debug/trace_event.h (working copy) |
@@ -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 @@ |
#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 @@ |
} |
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: |