summaryrefslogtreecommitdiffstats
path: root/ui/base/dragdrop/os_exchange_data_win_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/dragdrop/os_exchange_data_win_unittest.cc')
-rw-r--r--ui/base/dragdrop/os_exchange_data_win_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/base/dragdrop/os_exchange_data_win_unittest.cc b/ui/base/dragdrop/os_exchange_data_win_unittest.cc
index d9509b9..8f65716 100644
--- a/ui/base/dragdrop/os_exchange_data_win_unittest.cc
+++ b/ui/base/dragdrop/os_exchange_data_win_unittest.cc
@@ -313,13 +313,13 @@ TEST(OSExchangeDataTest, TestPickledData) {
TEST(OSExchangeDataTest, FileContents) {
OSExchangeData data;
std::string file_contents("data\0with\0nulls", 15);
- data.SetFileContents(L"filename.txt", file_contents);
+ data.SetFileContents(FilePath(L"filename.txt"), file_contents);
OSExchangeData copy(CloneProvider(data));
- std::wstring filename;
+ FilePath filename;
std::string read_contents;
EXPECT_TRUE(copy.GetFileContents(&filename, &read_contents));
- EXPECT_EQ(L"filename.txt", filename);
+ EXPECT_EQ(L"filename.txt", filename.value());
EXPECT_EQ(file_contents, read_contents);
}