Index: chrome/browser/ui/views/toolbar/toolbar_button.cc |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc |
index e529cf66a34dc5c48c0ac509a6fbabca5db3fb43..c72d6b8d183f1b923b496e20f7ef442a952eff24 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc |
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc |
@@ -176,9 +176,7 @@ void ToolbarButton::ShowDropDownMenu(ui::MenuSourceType source_type) { |
View::ConvertPointToScreen(this, &menu_position); |
-#if defined(OS_WIN) |
- int left_bound = GetSystemMetrics(SM_XVIRTUALSCREEN); |
-#elif defined(OS_CHROMEOS) |
+#if defined(OS_CHROMEOS) |
// A window won't overlap between displays on ChromeOS. |
// Use the left bound of the display on which |
// the menu button exists. |