Repace usage of CFX_SystemHandler with IPWL_Systemhandler in formfiller/
CFX_SystemHandler is defined above this layer, but all that is needed
is the IPWL interface which is defined below this layer.
Change-Id: I10b7014f0158f76556542baa9100130e968e23b2
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/58950
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
index 08ef123..44ad7ff 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
@@ -578,7 +578,7 @@
void CFFL_FormFiller::OnTimerFired() {}
-CFX_SystemHandler* CFFL_FormFiller::GetSystemHandler() const {
+IPWL_SystemHandler* CFFL_FormFiller::GetSystemHandler() const {
return m_pFormFillEnv->GetSysHandler();
}
diff --git a/fpdfsdk/formfiller/cffl_formfiller.h b/fpdfsdk/formfiller/cffl_formfiller.h
index 39e281a..9d8aa35 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.h
+++ b/fpdfsdk/formfiller/cffl_formfiller.h
@@ -12,12 +12,12 @@
#include "core/fpdfdoc/cba_fontmap.h"
#include "core/fxcrt/unowned_ptr.h"
-#include "fpdfsdk/cfx_systemhandler.h"
#include "fpdfsdk/cpdfsdk_fieldaction.h"
#include "fpdfsdk/cpdfsdk_widget.h"
#include "fpdfsdk/formfiller/cffl_interactiveformfiller.h"
#include "fpdfsdk/pwl/cpwl_timer.h"
#include "fpdfsdk/pwl/cpwl_wnd.h"
+#include "fpdfsdk/pwl/ipwl_systemhandler.h"
class CPDFSDK_Annot;
class CPDFSDK_FormFillEnvironment;
@@ -137,7 +137,7 @@
bool IsValid() const;
CFX_FloatRect GetPDFAnnotRect() const;
- CFX_SystemHandler* GetSystemHandler() const;
+ IPWL_SystemHandler* GetSystemHandler() const;
CPDFSDK_PageView* GetCurPageView(bool renew);
void SetChangeMark();