Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment

Rename CPDFSDK_Environment to make it explicit that this is part of the formfill
system.

Review-Url: https://codereview.chromium.org/2391313002
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index 13b412c..94555b7 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -20,7 +20,7 @@
 #include "core/fxge/cfx_pathdata.h"
 #include "core/fxge/cfx_renderdevice.h"
 #include "fpdfsdk/cpdfsdk_document.h"
-#include "fpdfsdk/cpdfsdk_environment.h"
+#include "fpdfsdk/cpdfsdk_formfillenvironment.h"
 #include "fpdfsdk/cpdfsdk_interform.h"
 #include "fpdfsdk/cpdfsdk_pageview.h"
 #include "fpdfsdk/formfiller/cba_fontmap.h"
@@ -853,7 +853,7 @@
 
   CFX_FloatRect rcDevice;
   ASSERT(m_pInterForm->GetDocument());
-  CPDFSDK_Environment* pEnv = m_pInterForm->GetDocument()->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = m_pInterForm->GetDocument()->GetEnv();
   if (!pEnv)
     return;
   CFX_Matrix page2device;
@@ -1000,7 +1000,7 @@
   CPDF_IconFit iconFit = pControl->GetIconFit();
 
   CPDFSDK_Document* pDoc = m_pInterForm->GetDocument();
-  CPDFSDK_Environment* pEnv = pDoc->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = pDoc->GetEnv();
 
   CBA_FontMap font_map(this, pEnv->GetSysHandler());
   font_map.SetAPType("N");
@@ -1378,7 +1378,7 @@
   pEdit->EnableRefresh(FALSE);
 
   CPDFSDK_Document* pDoc = m_pInterForm->GetDocument();
-  CPDFSDK_Environment* pEnv = pDoc->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = pDoc->GetEnv();
   CBA_FontMap font_map(this, pEnv->GetSysHandler());
   pEdit->SetFontMap(&font_map);
 
@@ -1444,7 +1444,7 @@
   pEdit->EnableRefresh(FALSE);
 
   CPDFSDK_Document* pDoc = m_pInterForm->GetDocument();
-  CPDFSDK_Environment* pEnv = pDoc->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = pDoc->GetEnv();
 
   CBA_FontMap font_map(this, pEnv->GetSysHandler());
   pEdit->SetFontMap(&font_map);
@@ -1531,7 +1531,7 @@
   pEdit->EnableRefresh(FALSE);
 
   CPDFSDK_Document* pDoc = m_pInterForm->GetDocument();
-  CPDFSDK_Environment* pEnv = pDoc->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = pDoc->GetEnv();
 
   CBA_FontMap font_map(this, pEnv->GetSysHandler());
   pEdit->SetFontMap(&font_map);
@@ -1847,7 +1847,7 @@
                                   PDFSDK_FieldAction& data,
                                   CPDFSDK_PageView* pPageView) {
   CPDFSDK_Document* pDocument = pPageView->GetSDKDocument();
-  CPDFSDK_Environment* pEnv = pDocument->GetEnv();
+  CPDFSDK_FormFillEnvironment* pEnv = pDocument->GetEnv();
 
 #ifdef PDF_ENABLE_XFA
   CPDFXFA_Document* pDoc = pDocument->GetXFADocument();