Index: src/profiler/sampling-heap-profiler.cc |
diff --git a/src/profiler/sampling-heap-profiler.cc b/src/profiler/sampling-heap-profiler.cc |
index be691fdb515dbb32e1342b10b34221f6cb7f788d..47d1e338a2b82e625b8b9021d537bd1a4f2ed02c 100644 |
--- a/src/profiler/sampling-heap-profiler.cc |
+++ b/src/profiler/sampling-heap-profiler.cc |
@@ -152,10 +152,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); |