Index: chrome/common/os_exchange_data.cc |
=================================================================== |
--- chrome/common/os_exchange_data.cc (revision 3465) |
+++ chrome/common/os_exchange_data.cc (working copy) |
@@ -330,7 +330,7 @@ |
ClipboardUtil::GetFileDescriptorFormat()->cfFormat, storage)); |
// Add CFSTR_FILECONTENTS |
- storage = GetStorageForString(file_contents); |
+ storage = GetStorageForBytes(file_contents.data(), file_contents.length()); |
contents_.push_back(new StoredDataInfo( |
ClipboardUtil::GetFileContentFormatZero()->cfFormat, storage)); |
} |