diff options
author | tsepez <tsepez@chromium.org> | 2016-10-28 09:35:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-28 09:35:49 -0700 |
commit | 71ba5883dd00145b2256935635492cbcc8d94bac (patch) | |
tree | 5b9a47d819d86ac820b867a333d35080e365f3f4 /fpdfsdk | |
parent | 605c9f71d33540ba99983d89ac79b2ca250fc730 (diff) | |
download | pdfium-71ba5883dd00145b2256935635492cbcc8d94bac.tar.xz |
Fix more FX_BOOL / int noise in core/fpdfsdk
Review-Url: https://codereview.chromium.org/2454263002
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/javascript/Document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp index 0c2e3f7399..ea489c993b 100644 --- a/fpdfsdk/javascript/Document.cpp +++ b/fpdfsdk/javascript/Document.cpp @@ -733,7 +733,7 @@ FX_BOOL Document::mailDoc(IJS_Context* cc, v8::Local<v8::Object> pObj = params[0].ToV8Object(pRuntime); v8::Local<v8::Value> pValue = pRuntime->GetObjectProperty(pObj, L"bUI"); - bUI = CJS_Value(pRuntime, pValue).ToInt(pRuntime); + bUI = CJS_Value(pRuntime, pValue).ToBool(pRuntime); pValue = pRuntime->GetObjectProperty(pObj, L"cTo"); cTo = CJS_Value(pRuntime, pValue).ToCFXWideString(pRuntime); |