Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index cf31a482c14fcbfc4faa7bdec1895a2c529b544d..c22a018fb0a1fb09bc0c5199fcf332d0c5a31c1b 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -324,7 +324,8 @@ inline JavaScriptFrame* JavaScriptFrameIterator::frame() const { |
} |
-inline JavaScriptFrame* SafeStackTraceFrameIterator::frame() const { |
+inline JavaScriptFrame* SafeStackFrameIterator::frame() const { |
+ ASSERT(!iteration_done_); |
// TODO(1233797): The frame hierarchy needs to change. It's |
// problematic that we can't use the safe-cast operator to cast to |
// the JavaScript frame type, because we may encounter arguments |