diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-29 17:29:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-29 17:29:06 +0000 |
commit | ea08d171755bd4088d01261c55d1bfe0ff0f9f39 (patch) | |
tree | edd21e3bbde0b1bd13b067ce7682111f32f0d8e4 /fpdfsdk/pwl/cpwl_list_box.cpp | |
parent | b7c4a0243e82f6c4ff91cd90b5bae336100c3c70 (diff) | |
download | pdfium-ea08d171755bd4088d01261c55d1bfe0ff0f9f39.tar.xz |
Fold virtual CPWL_Wnd::OnCreate into subclass constructors.
All they do is twiddle their own CreateParameters. Since we
now have the create paramters earlier, we need not have a
special method for this.
Change-Id: I5b94c578275c71516afb87bd085f5fb58b3962e2
Reviewed-on: https://pdfium-review.googlesource.com/c/44730
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_list_box.cpp')
-rw-r--r-- | fpdfsdk/pwl/cpwl_list_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_list_box.cpp b/fpdfsdk/pwl/cpwl_list_box.cpp index 003fe11956..827742b3e3 100644 --- a/fpdfsdk/pwl/cpwl_list_box.cpp +++ b/fpdfsdk/pwl/cpwl_list_box.cpp @@ -79,7 +79,7 @@ void CPWL_ListBox::OnCreated() { SetHoverSel(HasFlag(PLBS_HOVERSEL)); m_pList->SetMultipleSel(HasFlag(PLBS_MULTIPLESEL)); - m_pList->SetFontSize(GetCreationParams().fFontSize); + m_pList->SetFontSize(GetCreationParams()->fFontSize); m_bHoverSel = HasFlag(PLBS_HOVERSEL); } |