summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 06:39:23 +0000
committerjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 06:39:23 +0000
commit45d96315fa7f73b017f9bcfcc6a5205b18a93994 (patch)
tree503bbd64a87e11ad7c6801918c002c4f9959eace /ui
parent42aec8df5e4824c662234bd6e991dd97632d4028 (diff)
downloadchromium_src-45d96315fa7f73b017f9bcfcc6a5205b18a93994.zip
chromium_src-45d96315fa7f73b017f9bcfcc6a5205b18a93994.tar.gz
chromium_src-45d96315fa7f73b017f9bcfcc6a5205b18a93994.tar.bz2
Key remove_standard_frame off params.remove_standard_frame rather than ShouldUseNativeFrame()
This is how NativeWidgetWin does it. R=ben@chromium.org,scottmg@chromium.org BUG=165181 Review URL: https://chromiumcodereview.appspot.com/11485016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/views/widget/desktop_aura/desktop_root_window_host_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
index f138c0d..7f9bec8 100644
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
@@ -99,7 +99,7 @@ aura::RootWindow* DesktopRootWindowHostWin::Init(
message_handler_->Init(parent_hwnd, params.bounds);
- message_handler_->set_remove_standard_frame(!ShouldUseNativeFrame());
+ message_handler_->set_remove_standard_frame(params.remove_standard_frame);
aura::RootWindow::CreateParams rw_params(params.bounds);
rw_params.host = this;