commit | ef1bbf6308e22622b8d13d33adcd9e6d1ec90f48 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Oct 24 22:54:08 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Oct 24 22:54:08 2013 |
tree | b0517eb9dd698d4f5b87428d32f8c34fdfb9077b | |
parent | f2ccb5e111bb9b35ee101edf72914702145bdec4 [diff] [blame] |
Revert 230841 "Switch DropData's path field from a string16 to a..." > Switch DropData's path field from a string16 to a FilePath. > > Review URL: https://codereview.chromium.org/38933002 Cannot link content_shell.exe due to unresolved symbol for content::DropData::FileInfo::FileInfo(....) [email protected] Review URL: https://codereview.chromium.org/42283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230859 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/drop_data_builder.cc b/content/renderer/drop_data_builder.cc index 5fbffa03..56bc81a9 100644 --- a/content/renderer/drop_data_builder.cc +++ b/content/renderer/drop_data_builder.cc
@@ -55,9 +55,8 @@ break; case WebDragData::Item::StorageTypeFilename: // TODO(varunjain): This only works on chromeos. Support win/mac/gtk. - base::FilePath path(base::FilePath::FromUTF16Unsafe(item.filenameData)); result.filenames.push_back( - DropData::FileInfo(path, item.displayNameData)); + DropData::FileInfo(item.filenameData, item.displayNameData)); break; } }