Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: src/objects.h

Issue 1492863002: [proxies] Make Object.prototype.isPrototypeOf work with proxies. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 @@ class Object {
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.
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698