aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc')
-rw-r--r--www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc b/www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc
index 7c90141b376e..d7038be92971 100644
--- a/www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc
+++ b/www/chromium/files/patch-content_renderer_devtools_v8__sampling__profiler.cc
@@ -4,7 +4,7 @@
state.pc = reinterpret_cast<void*>(mcontext->__ss.REG_64_32(__rip, __eip));
state.sp = reinterpret_cast<void*>(mcontext->__ss.REG_64_32(__rsp, __esp));
state.fp = reinterpret_cast<void*>(mcontext->__ss.REG_64_32(__rbp, __ebp));
-+#elif defined(OS_FREEBSD)
++#elif defined(OS_BSD)
+ state.pc = reinterpret_cast<void*>(mcontext.REG_64_32(mc_rip, mc_eip));
+ state.sp = reinterpret_cast<void*>(mcontext.REG_64_32(mc_rsp, mc_esp));
+ state.fp = reinterpret_cast<void*>(mcontext.REG_64_32(mc_rbp, mc_ebp));