Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 35379a40884bfc4e51cb6caabf992904768fb4b9..d64443e6740cf52875447b53fb96677239373d2d 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1449,7 +1449,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPrototype) { |
HandleScope shs(isolate); |
DCHECK(args.length() == 1); |
CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
- return *Object::GetPrototypeSkipHiddenPrototypes(isolate, obj); |
+ return *Object::GetPrototype(isolate, obj); |
} |