1 // Copyright 2019 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "base/profiler/stack_buffer.h"
6 
7 namespace base {
8 
9 constexpr size_t StackBuffer::kPlatformStackAlignment;
10 
StackBuffer(size_t buffer_size)11 StackBuffer::StackBuffer(size_t buffer_size)
12     : buffer_(new uint8_t[buffer_size + kPlatformStackAlignment - 1]),
13       size_(buffer_size) {}
14 
15 StackBuffer::~StackBuffer() = default;
16 
17 }  // namespace base
18