| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 343be1b47ba2eb67be6cb2604eae73ae6e3f317f..c43e2550f11062972b30f173c75b1e7fab1d3f74 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2224,11 +2224,10 @@ class V8EXPORT FunctionTemplate : public Template {
|
| void SetHiddenPrototype(bool value);
|
|
|
| /**
|
| - * Sets the property attributes of the 'prototype' property of functions
|
| - * created from this FunctionTemplate. Can be any combination of ReadOnly,
|
| - * DontEnum and DontDelete.
|
| + * Sets the ReadOnly flag in the attributes of the 'prototype' property
|
| + * of functions created from this FunctionTemplate to true.
|
| */
|
| - void SetPrototypeAttributes(int attributes);
|
| + void ReadOnlyPrototype();
|
|
|
| /**
|
| * Returns true if the given object is an instance of this function
|
|
|