Index: chrome/browser/ui/gtk/browser_window_gtk.cc |
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc |
index 47cc23cada58ac3ca28fe5d1cd9044b62c742d61..b2f1970cb2ca065b94efd0ded6d86def50b522a2 100644 |
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc |
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -1981,8 +1981,7 @@ void BrowserWindowGtk::ConnectAccelerators() { |
} |
void BrowserWindowGtk::UpdateCustomFrame() { |
- gtk_window_set_decorated( |
- window_, !UseCustomFrame() && browser_->type() != Browser::TYPE_SHELL); |
+ gtk_window_set_decorated(window_, !UseCustomFrame()); |
titlebar_->UpdateCustomFrame(UseCustomFrame() && !IsFullscreen()); |
UpdateWindowShape(bounds_.width(), bounds_.height()); |
} |