summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/widget/drop_target_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/drop_target_gtk.cc b/views/widget/drop_target_gtk.cc
index 8ef8a9f..8f30d14 100644
--- a/views/widget/drop_target_gtk.cc
+++ b/views/widget/drop_target_gtk.cc
@@ -126,7 +126,7 @@ void DropTargetGtk::OnDragDataReceived(GdkDragContext* context,
if (urls[0].SchemeIsFile()) {
FilePath file_path;
if (net::FileURLToFilePath(urls[0], &file_path))
- data_provider().SetFilename(file_path.ToWStringHack());
+ data_provider().SetFilename(file_path);
}
} else {
// Consumers of OSExchangeData will see this as an invalid URL. That is,