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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.cc

Issue 10536200: Manage IsolatedContext with reference counts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: chrome/browser/media_gallery/media_file_system_registry.cc
diff --git a/chrome/browser/media_gallery/media_file_system_registry.cc b/chrome/browser/media_gallery/media_file_system_registry.cc
index fae44387952706c0ae38a79acd9ad0fa032bc09d..5d87aa06c1762ff1fe2cc01f9f32d4c3f47f1d23 100644
--- a/chrome/browser/media_gallery/media_file_system_registry.cc
+++ b/chrome/browser/media_gallery/media_file_system_registry.cc
@@ -162,7 +162,7 @@ void MediaFileSystemRegistry::RevokeMediaFileSystem(const FilePath& path) {
MediaPathToFSIDMap::iterator media_path_it = child_map.find(path);
if (media_path_it == child_map.end())
continue;
- isolated_context->RevokeIsolatedFileSystem(media_path_it->second);
+ isolated_context->RemoveReference(media_path_it->second);
child_map.erase(media_path_it);
}
}
« no previous file with comments | « no previous file | content/browser/child_process_security_policy_impl.cc » ('j') | webkit/fileapi/isolated_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698