Commit 631b8174 authored by ben@chromium.org's avatar ben@chromium.org

Inverted logic in UseNativeFrame meant all constrained windows were opened...

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
parent aeb135f7
......@@ -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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment