summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-26 21:27:41 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-26 21:27:41 +0000
commit8fba261fb6584169c5788326dd49e91bc9babda5 (patch)
treec3a66ab343f20c15427f131c320d1e77afd7aac8 /fpdfsdk/formfiller
parentd0ad4a785dbaf71ab0ccf626c7ef38c692484a60 (diff)
downloadpdfium-8fba261fb6584169c5788326dd49e91bc9babda5.tar.xz
Remove pParentWnd field entirely from CreateParams.
Put it into CPWL_Wnd directly, and set/clear it when a child is added/removed from a parent. Change-Id: I7a8cd0cf22dbd6173e64bec5d844df56ad373722 Reviewed-on: https://pdfium-review.googlesource.com/c/44692 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller')
-rw-r--r--fpdfsdk/formfiller/cffl_formfiller.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
index 76421368b2..91e16e8169 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
@@ -329,7 +329,6 @@ bool CFFL_FormFiller::IsValid() const {
CPWL_Wnd::CreateParams CFFL_FormFiller::GetCreateParam() {
CPWL_Wnd::CreateParams cp;
- cp.pParentWnd = nullptr;
cp.pProvider.Reset(this);
cp.rcRectWnd = GetPDFWindowRect();