Index: chrome/browser/ui/window_sizer/window_sizer.cc |
diff --git a/chrome/browser/ui/window_sizer/window_sizer.cc b/chrome/browser/ui/window_sizer/window_sizer.cc |
index 2848985a34a973b9ad1e28c01343a9ed02325767..87120a946fe653a6fae6e4930a5178f0fd52d8ac 100644 |
--- a/chrome/browser/ui/window_sizer/window_sizer.cc |
+++ b/chrome/browser/ui/window_sizer/window_sizer.cc |
@@ -80,17 +80,6 @@ class DefaultStateProvider : public WindowSizer::StateProvider { |
wp_pref->GetInteger("work_area_right", &work_area_right); |
if (*show_state == ui::SHOW_STATE_DEFAULT && maximized) |
*show_state = ui::SHOW_STATE_MAXIMIZED; |
-#if defined(USE_ASH) |
- // TODO(afakhry): Remove Docked Windows in M58. |
- if (ash::switches::DockedWindowsEnabled()) { |
- bool docked = false; |
- wp_pref->GetBoolean("docked", &docked); |
- if (*show_state == ui::SHOW_STATE_DEFAULT && docked && |
- !browser_->is_type_tabbed()) { |
- *show_state = ui::SHOW_STATE_DOCKED; |
- } |
- } |
-#endif // USE_ASH |
} |
work_area->SetRect(work_area_left, work_area_top, |
std::max(0, work_area_right - work_area_left), |