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

Unified Diff: cc/raster/texture_compressor_etc1.h

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_unittest.cc ('k') | cc/raster/texture_compressor_etc1_sse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/texture_compressor_etc1.h
diff --git a/cc/raster/texture_compressor_etc1.h b/cc/raster/texture_compressor_etc1.h
index 311a4c30af03fe77925420841dfdc44eefee4b96..6e85313cab0321f6e434f153806b26f188f645d6 100644
--- a/cc/raster/texture_compressor_etc1.h
+++ b/cc/raster/texture_compressor_etc1.h
@@ -41,15 +41,10 @@ union Color {
// Codeword tables.
// See: Table 3.17.2
-ALIGNAS(16) static const int16_t g_codeword_tables[8][4] = {
- {-8, -2, 2, 8},
- {-17, -5, 5, 17},
- {-29, -9, 9, 29},
- {-42, -13, 13, 42},
- {-60, -18, 18, 60},
- {-80, -24, 24, 80},
- {-106, -33, 33, 106},
- {-183, -47, 47, 183}};
+alignas(16) static const int16_t g_codeword_tables[8][4] = {
+ {-8, -2, 2, 8}, {-17, -5, 5, 17}, {-29, -9, 9, 29},
+ {-42, -13, 13, 42}, {-60, -18, 18, 60}, {-80, -24, 24, 80},
+ {-106, -33, 33, 106}, {-183, -47, 47, 183}};
// Maps modifier indices to pixel index values.
// See: Table 3.17.3
« no previous file with comments | « cc/base/contiguous_container_unittest.cc ('k') | cc/raster/texture_compressor_etc1_sse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698