| Index: base/stack_container.h
|
| diff --git a/base/stack_container.h b/base/stack_container.h
|
| index c5897836db96b163d144121e4337ca190476523d..310ca5d9a7a76024d6174ff6f452f2cd4f064be6 100644
|
| --- a/base/stack_container.h
|
| +++ b/base/stack_container.h
|
| @@ -52,7 +52,7 @@ class StackAllocator : public std::allocator<T> {
|
| // The buffer itself. It is not of type T because we don't want the
|
| // constructors and destructors to be automatically called. Define a POD
|
| // buffer of the right size instead.
|
| - base::AlignedMemory<sizeof(T[stack_capacity]), ALIGNOF(T)> stack_buffer_;
|
| + base::AlignedMemory<ALIGNOF(T), sizeof(T[stack_capacity])> stack_buffer_;
|
| #if defined(OS_ANDROID)
|
| COMPILE_ASSERT(ALIGNOF(T) <= 16, crbug_115612);
|
| #endif
|
|
|