summaryrefslogtreecommitdiff
path: root/xfa/fxjse/value.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-03-30 12:59:04 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-30 12:59:04 -0700
commit04fd27b3742ace6e76d70e19ca7a4ff178c4cdc5 (patch)
treee8cee05a1b1cca1e1e3e43574871b3bb453f2b01 /xfa/fxjse/value.cpp
parent85ff9870a48e3ad69228e7fa813b558f51483028 (diff)
downloadpdfium-04fd27b3742ace6e76d70e19ca7a4ff178c4cdc5.tar.xz
Replace FXJSE_DOUBLE with double
FXJSE_DOUBLE was just defined as double. Replace with actual type to make things clearer. BUG=pdfium:81 Review URL: https://codereview.chromium.org/1842013003
Diffstat (limited to 'xfa/fxjse/value.cpp')
-rw-r--r--xfa/fxjse/value.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxjse/value.cpp b/xfa/fxjse/value.cpp
index 7732026fe6..f9214813c2 100644
--- a/xfa/fxjse/value.cpp
+++ b/xfa/fxjse/value.cpp
@@ -69,7 +69,7 @@ FX_FLOAT FXJSE_Value_ToFloat(FXJSE_HVALUE hValue) {
return reinterpret_cast<CFXJSE_Value*>(hValue)->ToFloat();
}
-FXJSE_DOUBLE FXJSE_Value_ToDouble(FXJSE_HVALUE hValue) {
+double FXJSE_Value_ToDouble(FXJSE_HVALUE hValue) {
return reinterpret_cast<CFXJSE_Value*>(hValue)->ToDouble();
}
@@ -112,7 +112,7 @@ void FXJSE_Value_SetFloat(FXJSE_HVALUE hValue, FX_FLOAT fFloat) {
reinterpret_cast<CFXJSE_Value*>(hValue)->SetFloat(fFloat);
}
-void FXJSE_Value_SetDouble(FXJSE_HVALUE hValue, FXJSE_DOUBLE dDouble) {
+void FXJSE_Value_SetDouble(FXJSE_HVALUE hValue, double dDouble) {
reinterpret_cast<CFXJSE_Value*>(hValue)->SetDouble(dDouble);
}
@@ -136,7 +136,7 @@ void FXJSE_Value_SetArray(FXJSE_HVALUE hValue,
->SetArray(uValueCount, reinterpret_cast<CFXJSE_Value**>(rgValues));
}
-void FXJSE_Value_SetDate(FXJSE_HVALUE hValue, FXJSE_DOUBLE dDouble) {
+void FXJSE_Value_SetDate(FXJSE_HVALUE hValue, double dDouble) {
reinterpret_cast<CFXJSE_Value*>(hValue)->SetDate(dDouble);
}
@@ -361,7 +361,7 @@ void CFXJSE_Value::SetArray(uint32_t uValueCount, CFXJSE_Value** rgValues) {
m_hValue.Reset(m_pIsolate, hArrayObject);
}
-void CFXJSE_Value::SetDate(FXJSE_DOUBLE dDouble) {
+void CFXJSE_Value::SetDate(double dDouble) {
CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate);
v8::Local<v8::Value> hDate = v8::Date::New(m_pIsolate, dDouble);
m_hValue.Reset(m_pIsolate, hDate);