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 98a68d1495b401df71db35cedf3b847be00b8695..542d1903e0a9f9dfb11ed51d4621625d5217a088 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. |
@@ -1982,8 +1982,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()); |
} |