Index: ui/base/material_design/material_design_controller.cc |
diff --git a/ui/base/material_design/material_design_controller.cc b/ui/base/material_design/material_design_controller.cc |
index 86685cf5114f2d0db70683e5828e42960227dfe2..6718a185e2fb04523a001e2c5a6b6e2cf89e2219 100644 |
--- a/ui/base/material_design/material_design_controller.cc |
+++ b/ui/base/material_design/material_design_controller.cc |
@@ -37,9 +37,6 @@ bool MaterialDesignController::include_secondary_ui_ = false; |
void MaterialDesignController::Initialize() { |
TRACE_EVENT0("startup", "MaterialDesignController::InitializeMode"); |
CHECK(!is_mode_initialized_); |
-#if !defined(ENABLE_TOPCHROME_MD) |
- SetMode(NON_MATERIAL); |
-#else |
const std::string switch_value = |
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kTopChromeMD); |
@@ -61,7 +58,6 @@ void MaterialDesignController::Initialize() { |
include_secondary_ui_ = base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kExtendMdToSecondaryUi); |
-#endif // !defined(ENABLE_TOPCHROME_MD) |
} |
// static |