Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: xfa/fwl/core/ifwl_form.cpp

Issue 2503513002: Cleanup fwl_* classes and cfx_* classes in fwl. (Closed)
Patch Set: Review feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_app.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_form.cpp
diff --git a/xfa/fwl/core/ifwl_form.cpp b/xfa/fwl/core/ifwl_form.cpp
index 4a8d911976eefe46c54ee4df48279e5983d073a7..9e632a009acea72dcac4658fd1d1d1f1e50bcd36 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);
« no previous file with comments | « xfa/fwl/core/ifwl_app.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698