summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/app.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-08 15:30:25 -0700
committerLei Zhang <thestig@chromium.org>2015-09-08 15:30:25 -0700
commit96675b148c8961242e2e1f91a300fd9b15068bdf (patch)
treeed35ee6fea8bce89ad5acdfab43b2332d30be885 /fpdfsdk/src/javascript/app.cpp
parente61b6e58c9c535ca097b9819c333b65825e0c64e (diff)
downloadpdfium-96675b148c8961242e2e1f91a300fd9b15068bdf.tar.xz
Merge to XFA: Change the JS app.viewerType() return value to "pdfium"
BUG=pdfium:181 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1331633002 . (cherry picked from commit 4bc64cabc561d5df211ed02dc75c85e41fa91312) Review URL: https://codereview.chromium.org/1327523007 .
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 547446861f..c8815a0ca1 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;
}