| Index: base/trace_event/heap_profiler_stack_frame_deduplicator.h
|
| diff --git a/base/trace_event/heap_profiler_stack_frame_deduplicator.h b/base/trace_event/heap_profiler_stack_frame_deduplicator.h
|
| index 4932534e1d790a578290effd9590bc0fe43a64bb..b686f866e1168632f40c8da07c019112bb1d8ab8 100644
|
| --- a/base/trace_event/heap_profiler_stack_frame_deduplicator.h
|
| +++ b/base/trace_event/heap_profiler_stack_frame_deduplicator.h
|
| @@ -30,10 +30,13 @@ class BASE_EXPORT StackFrameDeduplicator : public ConvertableToTraceFormat {
|
| public:
|
| // A node in the call tree.
|
| struct FrameNode {
|
| - FrameNode(StackFrame frame, int parent_frame_index);
|
| + FrameNode(StackFrameType frame_type,
|
| + StackFrame frame,
|
| + int parent_frame_index);
|
| FrameNode(const FrameNode& other);
|
| ~FrameNode();
|
|
|
| + StackFrameType frame_type;
|
| StackFrame frame;
|
|
|
| // The index of the parent stack frame in |frames_|, or -1 if there is no
|
| @@ -53,7 +56,8 @@ class BASE_EXPORT StackFrameDeduplicator : public ConvertableToTraceFormat {
|
| // (e.g. main) and |endFrame| is a pointer past the top frame (most recently
|
| // called function), and returns the index of its leaf node in |frames_|.
|
| // Returns -1 if the backtrace is empty.
|
| - int Insert(const StackFrame* beginFrame, const StackFrame* endFrame);
|
| + int Insert(StackFrameType frame_type,
|
| + const StackFrame* beginFrame, const StackFrame* endFrame);
|
|
|
| // Iterators over the frame nodes in the call tree.
|
| ConstIterator begin() const { return frames_.begin(); }
|
|
|