Index: src/profiler/sampling-heap-profiler.cc |
diff --git a/src/profiler/sampling-heap-profiler.cc b/src/profiler/sampling-heap-profiler.cc |
index 942562dca18c16d0f6322497664a163b6c1f2b3b..882f3934b983b2575818eb8328ba13df9d1df810 100644 |
--- a/src/profiler/sampling-heap-profiler.cc |
+++ b/src/profiler/sampling-heap-profiler.cc |
@@ -143,10 +143,10 @@ SamplingHeapProfiler::AllocationNode* SamplingHeapProfiler::AddStack() { |
AllocationNode* node = &profile_root_; |
std::vector<SharedFunctionInfo*> stack; |
- StackTraceFrameIterator it(isolate_); |
+ JavaScriptFrameIterator it(isolate_); |
int frames_captured = 0; |
while (!it.done() && frames_captured < stack_depth_) { |
- StandardFrame* frame = it.frame(); |
+ JavaScriptFrame* frame = it.frame(); |
SharedFunctionInfo* shared = frame->function()->shared(); |
stack.push_back(shared); |