Chromium Code Reviews| Index: include/v8.h | 
| diff --git a/include/v8.h b/include/v8.h | 
| index 80c34e06c37d4d7f4855708264eb48898ac339b5..db584abd6268461810887be6d11de9907b98c5a2 100644 | 
| --- a/include/v8.h | 
| +++ b/include/v8.h | 
| @@ -4833,6 +4833,17 @@ class V8_EXPORT ObjectTemplate : public Template { | 
| */ | 
| void SetInternalFieldCount(int value); | 
| + /** | 
| + * Returns true if the object will be an immutable prototype exotic object. | 
| + */ | 
| + bool ImmutableProto(); | 
| 
 
jochen (gone - plz use gerrit)
2016/07/01 14:16:09
nit. IsImmutableProto()?
 
Dan Ehrenberg
2016/07/01 18:51:28
Done
 
 | 
| + | 
| + /** | 
| + * Makes the ObjectTempate for an immutable prototype exotic object, with an | 
| + * immutable __proto__. | 
| + */ | 
| + void SetImmutableProto(); | 
| + | 
| private: | 
| ObjectTemplate(); | 
| static Local<ObjectTemplate> New(internal::Isolate* isolate, |