Replace CFX_MapPtrTemplate with std::map.
[pdfium.git] / fpdfsdk / src / fpdfformfill.cpp
index a8dfe7f..9358c9e 100644 (file)
@@ -339,7 +339,6 @@ DLLEXPORT void STDCALL FORM_DoDocumentJSAction(FPDF_FORMHANDLE hHandle)
                return;
        if( CPDFSDK_Document* pSDKDoc = ((CPDFDoc_Environment*)hHandle)->GetCurrentDoc())
        {
-               pSDKDoc->InitPageView();
                if(((CPDFDoc_Environment*)hHandle)->IsJSInitiated())
                        pSDKDoc->ProcJavascriptFun();
        }