| Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| index d7b2c848d4f58ef27ed3f87904fcc9b07a1c794a..f73571d70d36a005bf28de39d9762325e6cb24a7 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| @@ -30,7 +30,6 @@
|
| #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
|
| #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "content/browser/renderer_host/render_widget_host_view.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| @@ -545,7 +544,7 @@ willPositionSheet:(NSWindow*)sheet
|
|
|
| - (BOOL)shouldShowDetachedBookmarkBar {
|
| // NTP4 never detaches the bookmark bar.
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewTabPage4))
|
| + if (NewTabUI::Ntp4Enabled())
|
| return NO;
|
|
|
| DCHECK(browser_.get());
|
|
|