| Index: base/profiler/stack_sampling_profiler_unittest.cc
|
| diff --git a/base/profiler/stack_sampling_profiler_unittest.cc b/base/profiler/stack_sampling_profiler_unittest.cc
|
| index 2ba769f8b5020aade8f1aa8701a8c881a4a3386a..fad25a5929389512a47fc5095ffdbe9ab3c4f29e 100644
|
| --- a/base/profiler/stack_sampling_profiler_unittest.cc
|
| +++ b/base/profiler/stack_sampling_profiler_unittest.cc
|
| @@ -2,10 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| +
|
| #include <cstdlib>
|
|
|
| #include "base/bind.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/macros.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/native_library.h"
|
| @@ -374,7 +378,7 @@ const void* MaybeFixupFunctionAddressForILT(const void* function_address) {
|
| if (*opcode == 0xe9) {
|
| // This is a relative jump instruction. Assume we're in the ILT and compute
|
| // the function start address from the instruction offset.
|
| - const int32* offset = reinterpret_cast<const int32*>(opcode + 1);
|
| + const int32_t* offset = reinterpret_cast<const int32_t*>(opcode + 1);
|
| const unsigned char* next_instruction =
|
| reinterpret_cast<const unsigned char*>(offset + 1);
|
| return next_instruction + *offset;
|
|
|