Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 74e624ae9b386071ba1ab04cb5f6b721cbc84424..8376d7b3b054bb65b62042288a5b5d1509561698 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -909,9 +909,7 @@ void RenderWidgetHostViewAura::SelectionChanged(const base::string16& text, |
} |
// Set the CLIPBOARD_TYPE_SELECTION to the ui::Clipboard. |
- ui::ScopedClipboardWriter clipboard_writer( |
- ui::Clipboard::GetForCurrentThread(), |
- ui::CLIPBOARD_TYPE_SELECTION); |
+ ui::ScopedClipboardWriter clipboard_writer(ui::CLIPBOARD_TYPE_SELECTION); |
clipboard_writer.WriteText(text.substr(pos, n)); |
#endif // defined(USE_X11) && !defined(OS_CHROMEOS) |
} |