Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a3c52adc590a206f4323ecda1791cad3ad1e5146..29df33c414d7310b2ccc318505712649415d4876 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1135,8 +1135,8 @@ class Object { |
// Convert to a JSObject if needed. |
// native_context is used when creating wrapper object. |
- static inline MaybeHandle<JSReceiver> ToObject(Isolate* isolate, |
- Handle<Object> object); |
+ MUST_USE_RESULT static inline MaybeHandle<JSReceiver> ToObject( |
+ Isolate* isolate, Handle<Object> object); |
MUST_USE_RESULT static MaybeHandle<JSReceiver> ToObject( |
Isolate* isolate, Handle<Object> object, Handle<Context> context); |