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

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

Issue 2533623002: Cleanup default FWL params part I (Closed)
Patch Set: Rebase to master Created 4 years 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/cfwl_form.h ('k') | xfa/fwl/core/cfwl_formproxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_form.cpp
diff --git a/xfa/fwl/core/cfwl_form.cpp b/xfa/fwl/core/cfwl_form.cpp
index 00d47d410038764a41610b2604b85a6403d8c767..1fe5e90b87e2bdd2035291ee2fc2df3b732cbdbf 100644
--- a/xfa/fwl/core/cfwl_form.cpp
+++ b/xfa/fwl/core/cfwl_form.cpp
@@ -281,7 +281,7 @@ CFWL_Widget* CFWL_Form::DoModal() {
pDriver->PushNoteLoop(m_pNoteLoop.get());
m_bDoModalFlag = true;
- SetStates(FWL_WGTSTATE_Invisible, false);
+ RemoveStates(FWL_WGTSTATE_Invisible);
pDriver->Run();
#if _FX_OS_ != _FX_MACOSX_
@@ -310,9 +310,9 @@ void CFWL_Form::EndDoModal() {
return;
pDriver->PopNoteLoop();
- SetStates(FWL_WGTSTATE_Invisible, true);
+ SetStates(FWL_WGTSTATE_Invisible);
#else
- SetStates(FWL_WGTSTATE_Invisible, true);
+ SetStates(FWL_WGTSTATE_Invisible);
m_pNoteLoop->EndModalLoop();
#endif
}
« no previous file with comments | « xfa/fwl/core/cfwl_form.h ('k') | xfa/fwl/core/cfwl_formproxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698