Index: webkit/fileapi/isolated_context.cc |
diff --git a/webkit/fileapi/isolated_context.cc b/webkit/fileapi/isolated_context.cc |
index 11b5eb720b1fea86e3abaaf0fa1e4edb7479749e..64a3a0257680282d4c0d523ae668b0e0dbb02f8e 100644 |
--- a/webkit/fileapi/isolated_context.cc |
+++ b/webkit/fileapi/isolated_context.cc |
@@ -36,11 +36,7 @@ std::string IsolatedContext::RegisterIsolatedFileSystem( |
// Register the basename -> fullpath map. (We only expose the basename |
// part to the user scripts) |
-#if defined(FILE_PATH_USES_WIN_SEPARATORS) |
- FilePath fullpath = iter->NormalizeWindowsPathSeparators(); |
-#else |
- FilePath fullpath = *iter; |
-#endif |
+ FilePath fullpath = iter->NormalizePathSeparators(); |
FilePath basename = iter->BaseName(); |
// TODO(kinuko): Append a suffix or something if we have multiple pathnames |
// with the same basename. For now we only register the first one. |