Index: src/debug/debug-evaluate.cc |
diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc |
index 25283d2ebd26e5e42c928436a4d4e38c1480ce13..1134c9dd68ae9cfec97deb3a1bed09c7663a6d61 100644 |
--- a/src/debug/debug-evaluate.cc |
+++ b/src/debug/debug-evaluate.cc |
@@ -128,7 +128,7 @@ DebugEvaluate::ContextBuilder::ContextBuilder(Isolate* isolate, |
inlined_jsframe_index_(inlined_jsframe_index) { |
FrameInspector frame_inspector(frame, inlined_jsframe_index, isolate); |
Handle<JSFunction> local_function = |
- handle(JSFunction::cast(frame_inspector.GetFunction())); |
+ Handle<JSFunction>::cast(frame_inspector.GetFunction()); |
Handle<Context> outer_context(local_function->context()); |
native_context_ = Handle<Context>(outer_context->native_context()); |
Handle<JSFunction> global_function(native_context_->closure()); |