Index: src/debug/debug-scopes.h |
diff --git a/src/debug/debug-scopes.h b/src/debug/debug-scopes.h |
index 1338e7bfcce19a7b7d01e595591412aa25b4915c..b4daebbe8d525197fefb243bb41b02aaddd352f1 100644 |
--- a/src/debug/debug-scopes.h |
+++ b/src/debug/debug-scopes.h |
@@ -102,12 +102,12 @@ class ScopeIterator { |
bool seen_script_scope_; |
bool failed_; |
- inline JavaScriptFrame* GetFrame() { |
+ inline StandardFrame* GetFrame() { |
return frame_inspector_->GetArgumentsFrame(); |
} |
inline Handle<JSFunction> GetFunction() { |
- return Handle<JSFunction>::cast(frame_inspector_->GetFunction()); |
+ return frame_inspector_->GetFunction(); |
} |
void RetrieveScopeChain(Scope* scope); |
@@ -140,7 +140,6 @@ class ScopeIterator { |
Handle<String> parameter_name, |
Handle<Object> new_value); |
bool SetStackVariableValue(Handle<ScopeInfo> scope_info, |
- JavaScriptFrame* frame, |
Handle<String> variable_name, |
Handle<Object> new_value); |
bool SetContextVariableValue(Handle<ScopeInfo> scope_info, |