summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/app.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-08 15:17:51 -0700
committerLei Zhang <thestig@chromium.org>2015-09-08 15:17:51 -0700
commit4bc64cabc561d5df211ed02dc75c85e41fa91312 (patch)
tree379c35b224b161bca3a8c2039a438adf5bdd737e /fpdfsdk/src/javascript/app.cpp
parent2f740a8bd61c1c198796dd5e2124d007267f9c1a (diff)
downloadpdfium-4bc64cabc561d5df211ed02dc75c85e41fa91312.tar.xz
Change the JS app.viewerType() return value to "pdfium"
BUG=pdfium:181 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1331633002 .
Diffstat (limited to 'fpdfsdk/src/javascript/app.cpp')
-rw-r--r--fpdfsdk/src/javascript/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp
index 8d895ab260..e70bd47625 100644
--- a/fpdfsdk/src/javascript/app.cpp
+++ b/fpdfsdk/src/javascript/app.cpp
@@ -188,7 +188,7 @@ FX_BOOL app::viewerType(IFXJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsGetting()) {
- vp << L"unknown";
+ vp << L"pdfium";
return TRUE;
}