| Index: src/debug/debug-evaluate.cc
|
| diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc
|
| index 10bc75409130a2efa09650bb1518f2dda04d075d..8d7635c01df8088e8afa34fd1dffb419d3e6ff67 100644
|
| --- a/src/debug/debug-evaluate.cc
|
| +++ b/src/debug/debug-evaluate.cc
|
| @@ -106,7 +106,7 @@ MaybeHandle<Object> DebugEvaluate::Evaluate(
|
| if (result->IsJSGlobalProxy()) {
|
| PrototypeIterator iter(isolate, result);
|
| // TODO(verwaest): This will crash when the global proxy is detached.
|
| - result = Handle<JSObject>::cast(PrototypeIterator::GetCurrent(iter));
|
| + result = PrototypeIterator::GetCurrent<JSObject>(iter);
|
| }
|
|
|
| return result;
|
|
|