DescriptionDestroy window before cleaning up combobox
Currently, when we destroy a CFFL_ComboBox we'll cleanup the fontmap and then
call the destructor for the parent type. This will case the PWL_Wnd to be
destroyed. In this case, the window is a PWL_Edit. On destruction it will reset
the focus which causes the text selection to change, which asks the font map
for data but we've already destroyed the font map.
This CL forces the destruction of the window earlier in order to have the
fontmap available. A followup bug is filed to correct the location of the
fontmap so we don't have this dependency.
BUG=chromium:637546
Committed: https://pdfium.googlesource.com/pdfium/+/28a4a2410f24910c709578d981cae3bb8153fdba
Patch Set 1 #Patch Set 2 : Destroy window before cleaning up combobox #
Total comments: 2
Patch Set 3 : Update textfield #
Messages
Total messages: 22 (14 generated)
|