Index: net/url_request/url_request_unittest.h |
=================================================================== |
--- net/url_request/url_request_unittest.h (revision 6039) |
+++ net/url_request/url_request_unittest.h (working copy) |
@@ -279,9 +279,11 @@ |
std::wstring test_data_directory; |
PathService::Get(base::DIR_SOURCE_ROOT, &test_data_directory); |
std::wstring normalized_document_root = document_root; |
+#if defined(OS_WIN) |
std::replace(normalized_document_root.begin(), |
normalized_document_root.end(), |
- L'/', file_util::kPathSeparator); |
+ L'/', FilePath::kSeparators[0]); |
+#endif |
file_util::AppendToPath(&test_data_directory, normalized_document_root); |
#if defined(OS_WIN) |