Index: fpdfsdk/javascript/JS_Value.h |
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h |
index 5943aaf888e0cf72c4c51de8c052ae10bd8579ef..01b4e5ba4537337716d7b350836f014fb8f1e17d 100644 |
--- a/fpdfsdk/javascript/JS_Value.h |
+++ b/fpdfsdk/javascript/JS_Value.h |
@@ -159,7 +159,7 @@ class CJS_Date { |
int sec); |
virtual ~CJS_Date(); |
- void Attach(v8::Local<v8::Value> pDate); |
+ void Attach(v8::Local<v8::Date> pDate); |
bool IsValidDate() const; |
int GetYear() const; |
@@ -186,7 +186,7 @@ class CJS_Date { |
CFX_WideString ToString() const; |
protected: |
- v8::Local<v8::Value> m_pDate; |
+ v8::Local<v8::Date> m_pDate; |
CJS_Runtime* const m_pJSRuntime; |
}; |