From 631b8174301b96a174bfc263d1af6117e288a5be Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Wed, 8 Jul 2009 00:20:36 +0000 Subject: Inverted logic in UseNativeFrame meant all constrained windows were opened with double-window frames. http://crbug.com/14476 TEST=see bug, or visit any page with HTTP basic auth Review URL: http://codereview.chromium.org/149294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20105 0039d316-1c4b-4281-b951-d872f2087c98 --- views/window/non_client_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc index 3edb614..c089f76 100644 --- a/views/window/non_client_view.cc +++ b/views/window/non_client_view.cc @@ -70,7 +70,7 @@ void NonClientView::UpdateFrame() { bool NonClientView::UseNativeFrame() const { // The frame view may always require a custom frame, e.g. Constrained Windows. if (frame_view_.get() && frame_view_->AlwaysUseCustomFrame()) - return true; + return false; return frame_->ShouldUseNativeFrame(); } -- cgit v1.1