Index: content/renderer/devtools/lock_free_circular_queue.h |
diff --git a/content/renderer/devtools/lock_free_circular_queue.h b/content/renderer/devtools/lock_free_circular_queue.h |
index f8a48119d0a2a32c35978cd45535283baa40dd0c..0bb2997218deb19b90c51be0b7dd6953ec36e4cb 100644 |
--- a/content/renderer/devtools/lock_free_circular_queue.h |
+++ b/content/renderer/devtools/lock_free_circular_queue.h |
@@ -11,7 +11,7 @@ |
#include "base/macros.h" |
#include "base/memory/aligned_memory.h" |
-#define CACHELINE_ALIGNED ALIGNAS(64) |
+#define CACHELINE_ALIGNED alignas(64) |
namespace content { |
@@ -125,7 +125,7 @@ typename LockFreeCircularQueue<T, L>::Entry* LockFreeCircularQueue<T, L>::Next( |
template <typename T, unsigned L> |
void* LockFreeCircularQueue<T, L>::operator new(size_t size) { |
typedef LockFreeCircularQueue<T, L> QueueTypeAlias; |
- return base::AlignedAlloc(size, ALIGNOF(QueueTypeAlias)); |
+ return base::AlignedAlloc(size, alignof(QueueTypeAlias)); |
} |
template <typename T, unsigned L> |