Index: cc/base/contiguous_container_unittest.cc |
diff --git a/cc/base/contiguous_container_unittest.cc b/cc/base/contiguous_container_unittest.cc |
index 9e5e87b0e691b8f63c41c4b5339ed99a4bf17ada..d344c214dc739243b1df8c4726d1075a1d72b861 100644 |
--- a/cc/base/contiguous_container_unittest.cc |
+++ b/cc/base/contiguous_container_unittest.cc |
@@ -216,7 +216,7 @@ TEST(ContiguousContainerTest, MemoryUsageInBytes) { |
} |
TEST(ContiguousContainerTest, Alignment) { |
- const size_t max_align = ALIGNOF(long double); |
+ const size_t max_align = alignof(long double); |
ContiguousContainer<Point2D, max_align> list(kMaxPointSize); |
list.AllocateAndConstruct<Point2D>(); |