Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 3f5a0793b21a5e53d68070494f18e28d79c57cf2..a6f7d9d5119ceb222a921a744d13cfd59c4612f1 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6083,7 +6083,7 @@ Local<v8::Value> v8::NumberObject::New(double value) { |
} |
-double v8::NumberObject::NumberValue() const { |
+double v8::NumberObject::ValueOf() const { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::NumberObject::NumberValue()")) return 0; |
LOG_API(isolate, "NumberObject::NumberValue"); |
@@ -6107,7 +6107,7 @@ Local<v8::Value> v8::BooleanObject::New(bool value) { |
} |
-bool v8::BooleanObject::BooleanValue() const { |
+bool v8::BooleanObject::ValueOf() const { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::BooleanObject::BooleanValue()")) return 0; |
LOG_API(isolate, "BooleanObject::BooleanValue"); |
@@ -6128,7 +6128,7 @@ Local<v8::Value> v8::StringObject::New(Handle<String> value) { |
} |
-Local<v8::String> v8::StringObject::StringValue() const { |
+Local<v8::String> v8::StringObject::ValueOf() const { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::StringObject::StringValue()")) { |
return Local<v8::String>(); |
@@ -6152,7 +6152,7 @@ Local<v8::Value> v8::SymbolObject::New(Isolate* isolate, Handle<Symbol> value) { |
} |
-Local<v8::Symbol> v8::SymbolObject::SymbolValue() const { |
+Local<v8::Symbol> v8::SymbolObject::ValueOf() const { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::SymbolObject::SymbolValue()")) |
return Local<v8::Symbol>(); |
@@ -6181,7 +6181,7 @@ Local<v8::Value> v8::Date::New(double time) { |
} |
-double v8::Date::NumberValue() const { |
+double v8::Date::ValueOf() const { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::Date::NumberValue()")) return 0; |
LOG_API(isolate, "Date::NumberValue"); |