Index: chrome/browser/dom_ui/dom_ui_factory.cc |
diff --git a/chrome/browser/dom_ui/dom_ui_factory.cc b/chrome/browser/dom_ui/dom_ui_factory.cc |
index 6f7eaafbed98e2824c6a638e3887de4c6f53eea2..c72d056cdcdbad5834f5ac53484ca0c216fbc862 100644 |
--- a/chrome/browser/dom_ui/dom_ui_factory.cc |
+++ b/chrome/browser/dom_ui/dom_ui_factory.cc |
@@ -200,8 +200,8 @@ static DOMUIFactoryFunction GetDOMUIFactoryFunction(Profile* profile, |
return &NewDOMUI<chromeos::NetworkMenuUI>; |
#else |
if (url.host() == chrome::kChromeUISettingsHost) { |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableTabbedOptions)) { |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableTabbedOptions)) { |
return &NewDOMUI<OptionsUI>; |
} |
} |