Index: base/file_util_unittest.cc |
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc |
index 4aaed901e80b610a8e178e715c2fc9ac34f7aac1..fa00fcf92c2426c7a409c0172791c486bc05150e 100644 |
--- a/base/file_util_unittest.cc |
+++ b/base/file_util_unittest.cc |
@@ -251,17 +251,6 @@ static const struct filename_case { |
#endif |
}; |
-#if defined(OS_WIN) |
-// This function is deprecated on non-Windows. |
-TEST_F(FileUtilTest, GetFilenameFromPath) { |
- for (unsigned int i = 0; i < arraysize(filename_cases); ++i) { |
- const filename_case& value = filename_cases[i]; |
- std::wstring result = file_util::GetFilenameFromPath(value.path); |
- EXPECT_EQ(value.filename, result); |
- } |
-} |
-#endif |
- |
// Test finding the file type from a path name |
static const struct extension_case { |
const wchar_t* path; |