Reviewers: Jakob, Mads Sig Ager,
Description:
Fix typo in FunctionTemplate::ReadOnlyPrototype.
Contributed by Peter Varga <[email protected]>
BUG=
TEST=
Please review this at https://codereview.chromium.org/11434031/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
5351b96f0d087ba120f27277c9b1bc8ac95804ea..39741f5b42a8708828c55b6b83b287eb485f232b
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);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev