Chromium Code Reviews| Index: base/stack_container.h |
| diff --git a/base/stack_container.h b/base/stack_container.h |
| index 06ef2a4f576804231d0bb5b597c3ec9482069063..87fce13a57b0819b957f7afd2818f3178ae2bbb3 100644 |
| --- a/base/stack_container.h |
| +++ b/base/stack_container.h |
| @@ -53,6 +53,9 @@ class StackAllocator : public std::allocator<T> { |
| // 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_; |
| +#if defined(OS_ANDROID) |
|
willchan no longer on Chromium
2012/02/28 22:31:08
Do we need to include build/build_config.h to get
jbates
2012/02/28 22:52:13
Done.
|
| + COMPILE_ASSERT(ALIGNOF(T) <= 16, crbug_115612); |
| +#endif |
| // Set when the stack buffer is used for an allocation. We do not track |
| // how much of the buffer is used, only that somebody is using it. |