Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d630c522c085619a919144d87fe55803890d5f3b..396eb7cf6973a64423adb395e1ad53f6684c17ea 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1305,7 +1305,9 @@ |
static inline MaybeHandle<Object> GetPrototype(Isolate* isolate, |
Handle<Object> receiver); |
- bool HasInPrototypeChain(Isolate* isolate, Object* object); |
+ MUST_USE_RESULT static Maybe<bool> HasInPrototypeChain(Isolate* isolate, |
+ Handle<Object> object, |
+ Handle<Object> proto); |
// Returns the permanent hash code associated with this object. May return |
// undefined if not yet created. |