diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-04 20:41:53 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-04 20:41:53 -0700 |
commit | 4942ed7a79188bd832c2a599e7dd94ea59b674ae (patch) | |
tree | 8c6522247451fc423aa1f73930e668a8aec4529f /fpdfsdk/src/javascript/app.cpp | |
parent | 7dfe5929282cb6d78d7b5e32e1d72e9db99d3066 (diff) | |
download | pdfium-4942ed7a79188bd832c2a599e7dd94ea59b674ae.tar.xz |
Remove pointless CPDFSDK_PageView usage in CJS_Object / CJS_EmbedObj.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1374723004 .
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 067ae108bd..12f164edf1 100644 --- a/fpdfsdk/src/javascript/app.cpp +++ b/fpdfsdk/src/javascript/app.cpp @@ -346,8 +346,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; |