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

Unified Diff: content/browser/renderer_host/media/audio_input_sync_writer_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 | « components/tracing/core/proto_zero_message.h ('k') | content/renderer/devtools/lock_free_circular_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc b/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc
index 6cd049002305fb9e8c9f03e8e67328e363fab891..cab8ecde661c7bd5cc1f6299984f4ae89403980b 100644
--- a/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc
+++ b/content/browser/renderer_host/media/audio_input_sync_writer_unittest.cc
@@ -43,9 +43,10 @@ const int bits_per_sample = 16;
#define DATA_ALIGNMENT 16
static_assert(AudioBus::kChannelAlignment == DATA_ALIGNMENT,
"Data alignment not same as AudioBus");
-ALIGNAS(DATA_ALIGNMENT)
-uint8_t data[kSegments * (sizeof(media::AudioInputBufferParameters) +
- frames * channels * sizeof(float))];
+alignas(
+ DATA_ALIGNMENT) uint8_t data[kSegments *
+ (sizeof(media::AudioInputBufferParameters) +
+ frames * channels * sizeof(float))];
} // namespace
« no previous file with comments | « components/tracing/core/proto_zero_message.h ('k') | content/renderer/devtools/lock_free_circular_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698