Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 6125286e808f8ea748f19b71a928fd4b36ed58cc..3adefbcb0d7e0ddceb812ae8bf16d251cbb4823f 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1197,6 +1197,13 @@ class V8EXPORT Object : public Value { |
| Local<Value> GetPrototype(); |
| /** |
| + * Set the prototype object. This does not skip objects marked to |
| + * be skipped by __proto__ and it does not consult the security |
| + * handler. |
| + */ |
| + bool SetPrototype(Handle<Value> prototype); |
| + |
| + /** |
| * Finds an instance of the given function template in the prototype |
| * chain. |
| */ |