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

Unified Diff: webkit/appcache/appcache_host.h

Issue 6546004: Defend against selectCache() being called multiple times.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « no previous file | webkit/appcache/appcache_host.cc » ('j') | webkit/appcache/appcache_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_host.h
===================================================================
--- webkit/appcache/appcache_host.h (revision 75330)
+++ webkit/appcache/appcache_host.h (working copy)
@@ -174,6 +174,9 @@
// in use in any other host, this reference keeps the cache in memory.
scoped_refptr<AppCache> newest_cache_of_group_being_updated_;
+ // We defend against multiple calls to SelectCache() which should not happen.
+ bool was_select_cache_called_;
+
// Keep a reference to the cache of the main resource so it survives frame
// navigations.
scoped_refptr<AppCache> main_resource_cache_;
« no previous file with comments | « no previous file | webkit/appcache/appcache_host.cc » ('j') | webkit/appcache/appcache_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698