| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index eb166ab68d2e53745f8659ae1c1648785488d215..36077402a287046e84cf5f4dc8c1d6bd120a3ab3 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2719,15 +2719,11 @@ class V8EXPORT Date : public Object {
|
| public:
|
| static Local<Value> New(double time);
|
|
|
| - // Deprecated, use Date::ValueOf() instead.
|
| - // TODO(svenpanne) Actually deprecate when Chrome is adapted.
|
| - double NumberValue() const { return ValueOf(); }
|
| -
|
| /**
|
| * A specialization of Value::NumberValue that is more efficient
|
| * because we know the structure of this object.
|
| */
|
| - double ValueOf() const;
|
| + double NumberValue() const;
|
|
|
| V8_INLINE(static Date* Cast(v8::Value* obj));
|
|
|
| @@ -2757,14 +2753,10 @@ class V8EXPORT NumberObject : public Object {
|
| public:
|
| static Local<Value> New(double value);
|
|
|
| - // Deprecated, use NumberObject::ValueOf() instead.
|
| - // TODO(svenpanne) Actually deprecate when Chrome is adapted.
|
| - double NumberValue() const { return ValueOf(); }
|
| -
|
| /**
|
| * Returns the Number held by the object.
|
| */
|
| - double ValueOf() const;
|
| + double NumberValue() const;
|
|
|
| V8_INLINE(static NumberObject* Cast(v8::Value* obj));
|
|
|
| @@ -2780,14 +2772,10 @@ class V8EXPORT BooleanObject : public Object {
|
| public:
|
| static Local<Value> New(bool value);
|
|
|
| - // Deprecated, use BooleanObject::ValueOf() instead.
|
| - // TODO(svenpanne) Actually deprecate when Chrome is adapted.
|
| - bool BooleanValue() const { return ValueOf(); }
|
| -
|
| /**
|
| * Returns the Boolean held by the object.
|
| */
|
| - bool ValueOf() const;
|
| + bool BooleanValue() const;
|
|
|
| V8_INLINE(static BooleanObject* Cast(v8::Value* obj));
|
|
|
| @@ -2803,14 +2791,10 @@ class V8EXPORT StringObject : public Object {
|
| public:
|
| static Local<Value> New(Handle<String> value);
|
|
|
| - // Deprecated, use StringObject::ValueOf() instead.
|
| - // TODO(svenpanne) Actually deprecate when Chrome is adapted.
|
| - Local<String> StringValue() const { return ValueOf(); }
|
| -
|
| /**
|
| * Returns the String held by the object.
|
| */
|
| - Local<String> ValueOf() const;
|
| + Local<String> StringValue() const;
|
|
|
| V8_INLINE(static StringObject* Cast(v8::Value* obj));
|
|
|
| @@ -2828,14 +2812,10 @@ class V8EXPORT SymbolObject : public Object {
|
| public:
|
| static Local<Value> New(Isolate* isolate, Handle<Symbol> value);
|
|
|
| - // Deprecated, use SymbolObject::ValueOf() instead.
|
| - // TODO(svenpanne) Actually deprecate when Chrome is adapted.
|
| - Local<Symbol> SymbolValue() const { return ValueOf(); }
|
| -
|
| /**
|
| * Returns the Symbol held by the object.
|
| */
|
| - Local<Symbol> ValueOf() const;
|
| + Local<Symbol> SymbolValue() const;
|
|
|
| V8_INLINE(static SymbolObject* Cast(v8::Value* obj));
|
|
|
|
|