Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(992)

Unified Diff: webkit/fileapi/isolated_file_util_unittest.cc

Issue 10829136: Adding RevokeFileSystemByPath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/isolated_file_util_unittest.cc
diff --git a/webkit/fileapi/isolated_file_util_unittest.cc b/webkit/fileapi/isolated_file_util_unittest.cc
index 11a112cefaafa4e72fdf1834e5949b01402af394..ea927c377b62d95e857f5d58de5f4f22f6590d52 100644
--- a/webkit/fileapi/isolated_file_util_unittest.cc
+++ b/webkit/fileapi/isolated_file_util_unittest.cc
@@ -75,10 +75,12 @@ class IsolatedFileUtilTest : public testing::Test {
// For cross-FileUtil copy/move tests.
other_file_util_.reset(new LocalFileUtil());
other_file_util_helper_.SetUp(file_system_context_, other_file_util_.get());
+
+ isolated_context()->AddReference(filesystem_id_);
}
void TearDown() {
- isolated_context()->RevokeFileSystem(filesystem_id_);
+ isolated_context()->RemoveReference(filesystem_id_);
other_file_util_helper_.TearDown();
}
« webkit/fileapi/isolated_context.h ('K') | « webkit/fileapi/isolated_context_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698