Index: src/debug/debug-scopes.h |
diff --git a/src/debug/debug-scopes.h b/src/debug/debug-scopes.h |
index 1338e7bfcce19a7b7d01e595591412aa25b4915c..b86530d27cef804df406dda66cd1dcb7723e7751 100644 |
--- a/src/debug/debug-scopes.h |
+++ b/src/debug/debug-scopes.h |
@@ -107,7 +107,7 @@ class ScopeIterator { |
} |
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, |