diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp
index b809f0a0ab0d526601601535d53fa7cddd038484..31eb0a9d8efc48f70187f5dc01194485c138e978 100644
--- a/src/core/render_widget_host_view_qt.cpp
+++ b/src/core/render_widget_host_view_qt.cpp
@@ -635,7 +635,7 @@ void RenderWidgetHostViewQt::SelectionChanged(const base::string16 &text, size_t
     content::RenderWidgetHostViewBase::SelectionChanged(text, offset, range);
     m_adapterClient->selectionChanged();
 
-#if defined(USE_X11) && !defined(OS_CHROMEOS)
+#if defined(USE_X11)
     // Set the CLIPBOARD_TYPE_SELECTION to the ui::Clipboard.
     ui::ScopedClipboardWriter clipboard_writer(
                 ui::Clipboard::GetForCurrentThread(),