Index: base/debug/stack_trace.h |
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h |
index 85c91777b49737dd2eb1fbd2fa2d24eaa285d438..d35468fadd2080ad9a5f65486465f9d8830be7fd 100644 |
--- a/base/debug/stack_trace.h |
+++ b/base/debug/stack_trace.h |
@@ -52,7 +52,7 @@ class BASE_EXPORT StackTrace { |
// Note: this function will throw an import not found (StackWalk64) exception |
// on system without dbghelp 5.1. |
StackTrace(_EXCEPTION_POINTERS* exception_pointers); |
- StackTrace(_CONTEXT* context); |
+ StackTrace(const _CONTEXT* context); |
#endif |
// Copying and assignment are allowed with the default functions. |
@@ -76,7 +76,7 @@ class BASE_EXPORT StackTrace { |
private: |
#if defined(OS_WIN) |
- void InitTrace(_CONTEXT* context_record); |
+ void InitTrace(const _CONTEXT* context_record); |
#endif |
// From http://msdn.microsoft.com/en-us/library/bb204633.aspx, |