Index: chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
index 2c818f24cf02a079107ccd4501938da2d8841ba6..eb46e02f579639da647ce868f28020e3ec0d929f 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
@@ -726,13 +726,12 @@ class HTML5FileWriter { |
} |
fileapi::FileSystemOperation* operation() { |
- return fs_->CreateFileSystemOperation( |
- fileapi::FileSystemURL(GURL(root_)), NULL); |
+ return fs_->CreateFileSystemOperation(fs_->CrackURL(GURL(root_)), NULL); |
} |
void CreateFile() { |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- operation()->CreateFile(fileapi::FileSystemURL(GURL(root_ + filename_)), |
+ operation()->CreateFile(fs_->CrackURL(GURL(root_ + filename_)), |
kExclusive, base::Bind( |
&HTML5FileWriter::CreateFileCallback, base::Unretained(this))); |
} |
@@ -746,7 +745,7 @@ class HTML5FileWriter { |
blob_url(), blob_data_); |
operation()->Write( |
url_request_context_.get(), |
- fileapi::FileSystemURL(GURL(root_ + filename_)), |
+ fs_->CrackURL(GURL(root_ + filename_)), |
blob_url(), |
0, // offset |
base::Bind(&HTML5FileWriter::WriteCallback, base::Unretained(this))); |