summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/javascript/JS_Value.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h
index 07e5986527..5e77e0beaa 100644
--- a/fpdfsdk/javascript/JS_Value.h
+++ b/fpdfsdk/javascript/JS_Value.h
@@ -19,19 +19,6 @@ class CJS_Runtime;
class CJS_Value {
public:
- enum Type {
- VT_unknown,
- VT_string,
- VT_number,
- VT_boolean,
- VT_date,
- VT_object,
- VT_null,
- VT_undefined
- };
-
- static Type GetValueType(v8::Local<v8::Value> value);
-
CJS_Value();
explicit CJS_Value(v8::Local<v8::Value> pValue);
CJS_Value(const CJS_Value& other);
@@ -40,8 +27,6 @@ class CJS_Value {
// These calls may re-enter JS (and hence invalidate objects).
void Set(v8::Local<v8::Value> pValue);
- Type GetType() const { return GetValueType(m_pValue); }
-
v8::Local<v8::Value> ToV8Value() const;
// Replace the current |m_pValue| with a v8::Number if possible