Index: chrome/browser/media_gallery/media_file_system_registry.cc |
diff --git a/chrome/browser/media_gallery/media_file_system_registry.cc b/chrome/browser/media_gallery/media_file_system_registry.cc |
index 96bcf2aaa1812376165e9cd89dab991fa0f942e3..c8194df038d2ebf706d2a3fdb61d6cbca2382645 100644 |
--- a/chrome/browser/media_gallery/media_file_system_registry.cc |
+++ b/chrome/browser/media_gallery/media_file_system_registry.cc |
@@ -15,6 +15,7 @@ |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_process_host.h" |
+#include "webkit/fileapi/file_system_types.h" |
#include "webkit/fileapi/isolated_context.h" |
namespace chrome { |
@@ -146,8 +147,8 @@ std::string MediaFileSystemRegistry::RegisterPathAsFileSystem( |
// a fixed name (as we only register a single directory per file system). |
std::string register_name("_"); |
const std::string fsid = |
- IsolatedContext::GetInstance()->RegisterFileSystemForFile( |
- path, ®ister_name); |
+ IsolatedContext::GetInstance()->RegisterFileSystemForPath( |
+ fileapi::kFileSystemTypeIsolated, path, ®ister_name); |
CHECK(!fsid.empty()); |
return fsid; |
} |