diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-05 17:06:09 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-05 17:06:09 -0700 |
commit | d607f5b9fc4c89ea480d882de6df80e6a6338b0b (patch) | |
tree | 377b8a87dae8d69bc7b86fa57b7d415e924db061 /fpdfsdk/src/javascript/app.cpp | |
parent | 2d5a0e173f3bb8335cf302f1194305c2f9e65bed (diff) | |
download | pdfium-d607f5b9fc4c89ea480d882de6df80e6a6338b0b.tar.xz |
Merge to XFA: Remove pointless CPDFSDK_PageView usage in CJS_Object / CJS_EmbedObj.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1374723004 .
(cherry picked from commit 4942ed7a79188bd832c2a599e7dd94ea59b674ae)
Review URL: https://codereview.chromium.org/1390623003 .
Diffstat (limited to 'fpdfsdk/src/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/app.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp index 1466dc16a6..fcaffa4e7f 100644 --- a/fpdfsdk/src/javascript/app.cpp +++ b/fpdfsdk/src/javascript/app.cpp @@ -352,8 +352,8 @@ FX_BOOL app::alert(IFXJS_Context* cc, CJS_Runtime* pRuntime = pContext->GetJSRuntime(); ASSERT(pRuntime != NULL); pRuntime->BeginBlock(); - vRet = MsgBox(pRuntime->GetReaderApp(), JSGetPageView(cc), swMsg.c_str(), - swTitle.c_str(), iType, iIcon); + vRet = MsgBox(pRuntime->GetReaderApp(), swMsg.c_str(), swTitle.c_str(), iType, + iIcon); pRuntime->EndBlock(); return TRUE; |