summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 20:30:18 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 20:30:18 +0000
commit10d474b1c91eb795e7c83787daf3e9ac6657bb1f (patch)
tree926ea64801b12a2f76214c933b96e57d482aaa8a /webkit/fileapi
parentcf84234e4eea75b8cd8a07e20afca6c9c3bb7f7f (diff)
downloadchromium_src-10d474b1c91eb795e7c83787daf3e9ac6657bb1f.zip
chromium_src-10d474b1c91eb795e7c83787daf3e9ac6657bb1f.tar.gz
chromium_src-10d474b1c91eb795e7c83787daf3e9ac6657bb1f.tar.bz2
Release GetFileSystemRootPath callback on the correct thread.
BUG=none TEST=none Review URL: http://codereview.chromium.org/4142009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi')
-rw-r--r--webkit/fileapi/file_system_path_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_path_manager.cc b/webkit/fileapi/file_system_path_manager.cc
index b24fb00..a81c254 100644
--- a/webkit/fileapi/file_system_path_manager.cc
+++ b/webkit/fileapi/file_system_path_manager.cc
@@ -159,6 +159,7 @@ class FileSystemPathManager::GetFileSystemRootPathTask
void DispatchCallback(const FilePath& root_path) {
callback_->Run(!root_path.empty(), root_path, name_);
+ callback_.reset();
}
scoped_refptr<base::MessageLoopProxy> file_message_loop_;