summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/stack_frame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/stack_frame.h b/extensions/common/stack_frame.h
index b174ffc..a55b8d8 100644
--- a/extensions/common/stack_frame.h
+++ b/extensions/common/stack_frame.h
@@ -29,6 +29,9 @@ struct StackFrame {
bool operator==(const StackFrame& rhs) const;
+ // Note: we use uint32_t instead of size_t because this struct is sent over
+ // IPC which could span 32 & 64 bit processes. This is fine since line numbers
+ // and column numbers shouldn't exceed UINT32_MAX even on 64 bit builds.
uint32_t line_number;
uint32_t column_number;
base::string16 source;