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

Unified Diff: ui/views/widget/widget.cc

Issue 8790001: Revert 112770 - Prevent a crash in the first run search engine selector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « ui/views/test/views_test_base.h ('k') | ui/views/widget/widget_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
===================================================================
--- ui/views/widget/widget.cc (revision 112803)
+++ ui/views/widget/widget.cc (working copy)
@@ -466,8 +466,8 @@
return;
}
- bool can_close = widget_delegate_->CanClose();
- if (non_client_view_ && can_close)
+ bool can_close = true;
+ if (non_client_view_)
can_close = non_client_view_->CanClose();
if (can_close) {
SaveWindowPlacement();
« no previous file with comments | « ui/views/test/views_test_base.h ('k') | ui/views/widget/widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698