summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 00:20:36 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 00:20:36 +0000
commit631b8174301b96a174bfc263d1af6117e288a5be (patch)
tree0b7fa59e319102a7be99d487eb5dbb82cacfd632
parentaeb135f7fbe58f624de4caa065054fabd94ad82a (diff)
downloadchromium_src-631b8174301b96a174bfc263d1af6117e288a5be.zip
chromium_src-631b8174301b96a174bfc263d1af6117e288a5be.tar.gz
chromium_src-631b8174301b96a174bfc263d1af6117e288a5be.tar.bz2
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
-rw-r--r--views/window/non_client_view.cc2
1 files changed, 1 insertions, 1 deletions
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();
}