diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-09 07:35:05 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-09 07:35:05 +0000 |
commit | 0acdc227cbee39edbbb32f0188c20bfde427d820 (patch) | |
tree | 57d3bd60ef2b6009a4d998828a9b282232d5c17b /views | |
parent | 7ca263ddc5f57b386534d977eeb1209bbe30e1e5 (diff) | |
download | chromium_src-0acdc227cbee39edbbb32f0188c20bfde427d820.zip chromium_src-0acdc227cbee39edbbb32f0188c20bfde427d820.tar.gz chromium_src-0acdc227cbee39edbbb32f0188c20bfde427d820.tar.bz2 |
Use the non-native frame when using themes even on Aero Glass.
Review URL: http://codereview.chromium.org/113183
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/window/non_client_view.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc index 5d5ac76..7028733 100644 --- a/views/window/non_client_view.cc +++ b/views/window/non_client_view.cc @@ -64,6 +64,8 @@ void NonClientView::WindowClosing() { } void NonClientView::SetUseNativeFrame(bool use_native_frame) { + if (use_native_frame == use_native_frame_) + return; use_native_frame_ = use_native_frame; SetFrameView(frame_->CreateFrameViewForWindow()); GetRootView()->ThemeChanged(); |