Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f800c5d580eace363c14b94ac947af8cec798fc7..69810267bbb609447a1f76cf5ec7be0a507e9e88 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2645,8 +2645,9 @@ class JSObject: public JSReceiver { |
// Called the first time an object is observed with ES7 Object.observe. |
MUST_USE_RESULT MaybeObject* SetObserved(Isolate* isolate); |
- // Copy object |
- MUST_USE_RESULT MaybeObject* DeepCopy(Isolate* isolate); |
+ // Copy object. |
+ static Handle<JSObject> Copy(Handle<JSObject> object); |
+ static Handle<JSObject> DeepCopy(Handle<JSObject> object); |
// Dispatched behavior. |
void JSObjectShortPrint(StringStream* accumulator); |