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

Unified Diff: ui/views/window/dialog_client_view.cc

Issue 1752623004: Remove DialogDelegate::Accept() variant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months 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 | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | ui/views/window/dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index 5a115e564e6d6c7ecc15faaad8e321055f4efa37..ea23fed27516f245b46f68958c7d8d556fff1a12 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -68,7 +68,7 @@ DialogClientView::~DialogClientView() {
void DialogClientView::AcceptWindow() {
// Only notify the delegate once. See |delegate_allowed_close_|'s comment.
- if (!delegate_allowed_close_ && GetDialogDelegate()->Accept(false)) {
+ if (!delegate_allowed_close_ && GetDialogDelegate()->Accept()) {
delegate_allowed_close_ = true;
GetWidget()->Close();
}
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | ui/views/window/dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698