From 7cc61deafabd68ede5075d827c19f2dd55ed4197 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Thu, 29 Nov 2012 14:53:44 +0000 Subject: [PATCH] Fix typo in FunctionTemplate::ReadOnlyPrototype. Contributed by Peter Varga BUG= TEST= Review URL: https://codereview.chromium.org/11434031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.cc b/src/api.cc index 5351b96f0d..39741f5b42 100644 --- a/src/api.cc +++ b/src/api.cc @@ -1237,7 +1237,7 @@ void FunctionTemplate::SetHiddenPrototype(bool value) { void FunctionTemplate::ReadOnlyPrototype() { i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); - if (IsDeadCheck(isolate, "v8::FunctionTemplate::SetPrototypeAttributes()")) { + if (IsDeadCheck(isolate, "v8::FunctionTemplate::ReadOnlyPrototype()")) { return; } ENTER_V8(isolate);