diff options
Diffstat (limited to 'ui/views/controls/textfield/textfield_unittest.cc')
-rw-r--r-- | ui/views/controls/textfield/textfield_unittest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc index 71d815f..d2c8b7a 100644 --- a/ui/views/controls/textfield/textfield_unittest.cc +++ b/ui/views/controls/textfield/textfield_unittest.cc @@ -902,14 +902,12 @@ TEST_F(TextfieldTest, DragAndDrop_AcceptDrop) { // Ensure that textfields do not accept non-OSExchangeData::STRING types. ui::OSExchangeData bad_data; bad_data.SetFilename(base::FilePath(FILE_PATH_LITERAL("x"))); -#if defined(OS_WIN) ui::OSExchangeData::CustomFormat fmt = ui::Clipboard::GetBitmapFormatType(); bad_data.SetPickledData(fmt, Pickle()); bad_data.SetFileContents(base::FilePath(L"x"), "x"); bad_data.SetHtml(base::string16(ASCIIToUTF16("x")), GURL("x.org")); ui::OSExchangeData::DownloadFileInfo download(base::FilePath(), NULL); bad_data.SetDownloadFileInfo(download); -#endif EXPECT_FALSE(textfield_->CanDrop(bad_data)); } #endif |