Chromium Code Reviews
Descriptionmedia: gpu: vea_unittest: fix alignment on non ARM platforms
The base::AlignedAlloc expects a alignement multiple of sizeof(void*) :
DCHECK_EQ(alignment % sizeof(void*), 0U);
This fixes this error :
[0826/162544:FATAL:aligned_memory.cc(19)] Check failed: alignment % sizeof(void*) == 0U (1 vs. 0)
BUG=647570
TEST=run video_encode_accelerator_unittest on a non ARM platform
Review-Url: https://codereview.chromium.org/2281043002
Cr-Commit-Position: refs/heads/master@{#419124}
(cherry picked from commit fa9176904652aafddc53351571dd2dc2c65a36db)
Committed: https://chromium.googlesource.com/chromium/src/+/87b77e4cd5c5536a0fd45268b228d02fce1f648b
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||