diff options
Diffstat (limited to 'webkit/fileapi/file_system_path_manager.cc')
-rw-r--r-- | webkit/fileapi/file_system_path_manager.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_path_manager.cc b/webkit/fileapi/file_system_path_manager.cc index 1013352..2db5045 100644 --- a/webkit/fileapi/file_system_path_manager.cc +++ b/webkit/fileapi/file_system_path_manager.cc @@ -16,7 +16,6 @@ #include "googleurl/src/gurl.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" #include "webkit/fileapi/file_system_util.h" -#include "webkit/fileapi/local_file_system_file_util.h" #include "webkit/fileapi/sandbox_mount_point_provider.h" #include "webkit/glue/webkit_glue.h" @@ -169,7 +168,12 @@ FileSystemFileUtil* FileSystemPathManager::GetFileSystemFileUtil( case kFileSystemTypePersistent: return sandbox_provider_->GetFileSystemFileUtil(); case kFileSystemTypeExternal: - return LocalFileSystemFileUtil::GetInstance(); + if (external_provider_.get()) { + return external_provider_->GetFileSystemFileUtil(); + } else { + NOTREACHED(); + return NULL; + } case kFileSystemTypeUnknown: default: NOTREACHED(); |