| Index: chrome/common/stack_sampling_configuration.cc
|
| diff --git a/chrome/common/stack_sampling_configuration.cc b/chrome/common/stack_sampling_configuration.cc
|
| index c2b0786442b1541f0c0f2ec144f5b300a16f3585..fc4e823338975982d97b4a0015e61d66a0e16953 100644
|
| --- a/chrome/common/stack_sampling_configuration.cc
|
| +++ b/chrome/common/stack_sampling_configuration.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/common/stack_sampling_configuration.h"
|
|
|
| #include "base/command_line.h"
|
| +#include "base/compiler_specific.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/rand_util.h"
|
| #include "chrome/common/channel_info.h"
|
| @@ -17,10 +18,10 @@ namespace {
|
| base::LazyInstance<StackSamplingConfiguration>::Leaky g_configuration =
|
| LAZY_INSTANCE_INITIALIZER;
|
|
|
| -// The profiler is currently only implemented for Windows x64, and only runs on
|
| -// trunk, canary, and dev.
|
| +// The profiler is currently only implemented for Windows x64 and Mac x64, and
|
| +// only runs on trunk, canary, and dev.
|
| bool IsProfilerSupported() {
|
| -#if !defined(_WIN64)
|
| +#if !defined(_WIN64) && !defined(OS_MACOSX)
|
| return false;
|
| #else
|
| const version_info::Channel channel = chrome::GetChannel();
|
|
|