Index: webkit/glue/clipboard_conversion.cc |
=================================================================== |
--- webkit/glue/clipboard_conversion.cc (revision 8847) |
+++ webkit/glue/clipboard_conversion.cc (working copy) |
@@ -24,6 +24,8 @@ |
drop_data.url = KURLToGURL(data_object->url); |
drop_data.url_title = StringToStdWString(data_object->urlTitle); |
+ drop_data.file_extension = StringToStdWString(data_object->fileExtension); |
+ |
for (size_t i = 0; i < data_object->filenames.size(); ++i) { |
drop_data.filenames.push_back(StringToStdWString( |
data_object->filenames[i])); |
@@ -51,6 +53,8 @@ |
data_object->url = GURLToKURL(drop_data.url); |
data_object->urlTitle = StdWStringToString(drop_data.url_title); |
+ data_object->fileExtension = StdWStringToString(drop_data.file_extension); |
+ |
for (size_t i = 0; i < drop_data.filenames.size(); ++i) { |
data_object->filenames.append(StdWStringToString(drop_data.filenames[i])); |
} |