Index: chrome/browser/chromeos/extensions/file_handler_util.cc |
diff --git a/chrome/browser/chromeos/extensions/file_handler_util.cc b/chrome/browser/chromeos/extensions/file_handler_util.cc |
index d26447debe45428208213fabe20c15ac89b296b0..afe5614fd9f2350faa99bcb551247c314be02509 100644 |
--- a/chrome/browser/chromeos/extensions/file_handler_util.cc |
+++ b/chrome/browser/chromeos/extensions/file_handler_util.cc |
@@ -32,6 +32,7 @@ |
#include "content/public/browser/child_process_security_policy.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/site_instance.h" |
+#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/web_contents.h" |
#include "net/base/escape.h" |
#include "webkit/chromeos/fileapi/cros_mount_point_provider.h" |
@@ -752,9 +753,10 @@ bool ExtensionTaskExecutor::ExecuteAndNotify( |
done_ = done; |
- // Get local file system instance on file thread. |
scoped_refptr<fileapi::FileSystemContext> file_system_context = |
- BrowserContext::GetFileSystemContext(profile()); |
+ BrowserContext::GetDefaultStoragePartition(profile())-> |
+ GetFileSystemContext(); |
+ |
BrowserThread::PostTask( |
BrowserThread::FILE, FROM_HERE, |
base::Bind( |