Index: runtime/vm/native_entry.cc |
diff --git a/runtime/vm/native_entry.cc b/runtime/vm/native_entry.cc |
index ecd4f0c268e0113cf2747e5725379fadc495e6b9..f89c9a050fa644f458d693554e1f66214d6f85e7 100644 |
--- a/runtime/vm/native_entry.cc |
+++ b/runtime/vm/native_entry.cc |
@@ -264,7 +264,8 @@ void NativeEntry::LinkNativeCall(Dart_NativeArguments args) { |
StackZone stack_zone(arguments->thread()); |
Zone* zone = stack_zone.GetZone(); |
- DartFrameIterator iterator; |
+ DartFrameIterator iterator(arguments->thread(), |
+ StackFrameIterator::kNoCrossThreadIteration); |
StackFrame* caller_frame = iterator.NextFrame(); |
const Code& code = Code::Handle(zone, caller_frame->LookupDartCode()); |