| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index d31ac99ae903b9296a4609cd19f2951544232288..3c7ef485302db92e3c05110aa5afbca94e1d7a0b 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -1611,8 +1611,7 @@ bool BrowserView::ShouldShowWindowTitle() const {
|
| #if defined(USE_ASH)
|
| // For Ash only, trusted windows (apps and settings) do not show a title,
|
| // crbug.com/119411. Child windows (i.e. popups) do show a title.
|
| - if (browser_->is_trusted_source() &&
|
| - !browser_->SupportsWindowFeature(Browser::FEATURE_WEBAPPFRAME))
|
| + if (browser_->is_trusted_source())
|
| return false;
|
| #endif // USE_ASH
|
|
|
| @@ -1646,8 +1645,7 @@ bool BrowserView::ShouldShowWindowIcon() const {
|
| #if defined(USE_ASH)
|
| // For Ash only, trusted windows (apps and settings) do not show an icon,
|
| // crbug.com/119411. Child windows (i.e. popups) do show an icon.
|
| - if (browser_->is_trusted_source() &&
|
| - !browser_->SupportsWindowFeature(Browser::FEATURE_WEBAPPFRAME))
|
| + if (browser_->is_trusted_source())
|
| return false;
|
| #endif // USE_ASH
|
|
|
|
|