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

Unified Diff: cc/base/contiguous_container_unittest.cc

Issue 2670873002: Remove base's ALIGNOF/ALIGNAS in favor of alignof/alignas. (Closed)
Patch Set: rebase Created 3 years, 10 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 | « cc/base/contiguous_container.h ('k') | cc/raster/texture_compressor_etc1.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/contiguous_container_unittest.cc
diff --git a/cc/base/contiguous_container_unittest.cc b/cc/base/contiguous_container_unittest.cc
index d617d4af55b16826638f55883fc9088de7ccd4d0..2df338e33fe4d0952611c9725cd34ecbd5fbf873 100644
--- a/cc/base/contiguous_container_unittest.cc
+++ b/cc/base/contiguous_container_unittest.cc
@@ -549,7 +549,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>();
« no previous file with comments | « cc/base/contiguous_container.h ('k') | cc/raster/texture_compressor_etc1.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698