Index: chrome/browser/ui/views/frame/browser_frame.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc |
index ccacf48282c2b1f77520f70a0e7b5cba9a9ebd45..6fa55029fe4675d3063c62c68bd2422778eb5b97 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame.cc |
@@ -238,7 +238,7 @@ void BrowserFrame::OnNativeWidgetActivationChanged(bool active) { |
void BrowserFrame::OnNativeWidgetWorkspaceChanged() { |
chrome::SaveWindowWorkspace(browser_view_->browser(), GetWorkspace()); |
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
+#if !defined(OS_CHROMEOS) && defined(USE_X11) |
BrowserList::MoveBrowsersInWorkspaceToFront( |
views::X11DesktopHandler::get()->GetWorkspace()); |
#endif |