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 569944542f94a7623b6c4c9f96f84cc393728a72..f9a30f9a3eaf037391af398a386758ce65da0502 100644 |
--- a/ui/views/window/dialog_client_view.cc |
+++ b/ui/views/window/dialog_client_view.cc |
@@ -129,7 +129,6 @@ bool DialogClientView::CanClose() { |
// before: it's a Close action. |
if (GetDialogDelegate()->Close()) { |
notified_delegate_ = true; |
vasilii
2016/02/11 10:37:48
I suspect that you can drop |notified_delegate_|
Evan Stade
2016/02/11 20:02:11
done. I can't repro the original bug on linux beca
|
- GetDialogDelegate()->OnClosed(); |
return true; |
} |
return false; |
@@ -377,7 +376,6 @@ gfx::Insets DialogClientView::GetButtonRowInsets() const { |
void DialogClientView::Close() { |
GetWidget()->Close(); |
- GetDialogDelegate()->OnClosed(); |
} |
} // namespace views |