diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-14 15:13:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-14 15:13:11 -0800 |
commit | 3439802410dc2c4aeb49397c987bf5ca0ddfad8b (patch) | |
tree | b321dc4ed2a4d032d36a8b5f532a904c77021817 /xfa/fwl/core/ifwl_form.cpp | |
parent | 137a344ad02056107e2e01d5d55f5e97d21fa74b (diff) | |
download | pdfium-3439802410dc2c4aeb49397c987bf5ca0ddfad8b.tar.xz |
Cleanup fwl_* classes and cfx_* classes in fwl.
This CL cleans up the classes in the fwl_* and cfx_* files in fwl/core.
Review-Url: https://codereview.chromium.org/2503513002
Diffstat (limited to 'xfa/fwl/core/ifwl_form.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_form.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fwl/core/ifwl_form.cpp b/xfa/fwl/core/ifwl_form.cpp index 4a8d911976..9e632a009a 100644 --- a/xfa/fwl/core/ifwl_form.cpp +++ b/xfa/fwl/core/ifwl_form.cpp @@ -329,7 +329,9 @@ IFWL_Widget* IFWL_Form::DoModal() { if (!pDriver) return nullptr; - m_pNoteLoop.reset(new CFWL_NoteLoop(this)); + m_pNoteLoop = pdfium::MakeUnique<CFWL_NoteLoop>(); + m_pNoteLoop->SetMainForm(this); + pDriver->PushNoteLoop(m_pNoteLoop.get()); m_bDoModalFlag = true; SetStates(FWL_WGTSTATE_Invisible, false); |