aboutsummaryrefslogtreecommitdiff
path: root/www/mod_pagespeed/files/patch-stack_trace_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_pagespeed/files/patch-stack_trace_posix.cc')
-rw-r--r--www/mod_pagespeed/files/patch-stack_trace_posix.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/www/mod_pagespeed/files/patch-stack_trace_posix.cc b/www/mod_pagespeed/files/patch-stack_trace_posix.cc
deleted file mode 100644
index 65f9ca7fd494..000000000000
--- a/www/mod_pagespeed/files/patch-stack_trace_posix.cc
+++ /dev/null
@@ -1,26 +0,0 @@
---- third_party/chromium/src/base/debug/stack_trace_posix.cc.orig
-+++ third_party/chromium/src/base/debug/stack_trace_posix.cc
-@@ -126,7 +126,7 @@
- trace_strings->push_back(base::StringPrintf("%p", trace[i]));
- }
- }
--#else
-+#elif defined(OS_LINUX)
- scoped_ptr_malloc<char*> trace_symbols(backtrace_symbols(trace, size));
- if (trace_symbols.get()) {
- for (int i = 0; i < size; ++i) {
-@@ -155,10 +155,13 @@
- count_ = 0;
- return;
- }
--#endif
-+#elif defined(OS_LINUX)
- // Though the backtrace API man page does not list any possible negative
- // return values, we take no chance.
- count_ = std::max(backtrace(trace_, arraysize(trace_)), 0);
-+#else
-+ count_ = 0;
-+#endif
- }
-
- void StackTrace::PrintBacktrace() {