Index: fpdfsdk/src/javascript/app.cpp |
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp |
index 067ae108bda8cd02fbc90c114f9290f761285f8f..12f164edf15b3cd4295762702ca9919e388e1a5d 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; |