Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: ui/base/clipboard/clipboard_aurax11.cc

Issue 16271006: Drag on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Document Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/dragdrop/desktop_selection_provider_aurax11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard_aurax11.cc
diff --git a/ui/base/clipboard/clipboard_aurax11.cc b/ui/base/clipboard/clipboard_aurax11.cc
index 2dfe9d666f9dda6a1592de0f74e417df6614224e..b15972b5e7e0ac6690bf3ecf042c67d0a6f5af21 100644
--- a/ui/base/clipboard/clipboard_aurax11.cc
+++ b/ui/base/clipboard/clipboard_aurax11.cc
@@ -399,7 +399,7 @@ scoped_ptr<SelectionData> Clipboard::AuraX11Details::RequestAndWaitForTypes(
it != types.end(); ++it) {
SelectionFormatMap::const_iterator format_map_it = format_map->find(*it);
if (format_map_it != format_map->end()) {
- scoped_ptr<SelectionData> data_out(new SelectionData(x_display_));
+ scoped_ptr<SelectionData> data_out(new SelectionData);
data_out->Set(format_map_it->first, format_map_it->second.first,
format_map_it->second.second, false);
return data_out.Pass();
« no previous file with comments | « no previous file | ui/base/dragdrop/desktop_selection_provider_aurax11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698