summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/appcache/ApplicationCacheResource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/appcache/ApplicationCacheResource.cpp')
-rw-r--r--WebCore/loader/appcache/ApplicationCacheResource.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/WebCore/loader/appcache/ApplicationCacheResource.cpp b/WebCore/loader/appcache/ApplicationCacheResource.cpp
index ee82ff5..d78cf7f 100644
--- a/WebCore/loader/appcache/ApplicationCacheResource.cpp
+++ b/WebCore/loader/appcache/ApplicationCacheResource.cpp
@@ -39,8 +39,8 @@ ApplicationCacheResource::ApplicationCacheResource(const KURL& url, const Resour
}
void ApplicationCacheResource::addType(unsigned type)
-{
- ASSERT(!m_storageID);
+{
+ // Caller should take care of storing the new type in database.
m_type |= type;
}
@@ -57,8 +57,6 @@ void ApplicationCacheResource::dumpType(unsigned type)
printf("foreign ");
if (type & Fallback)
printf("fallback ");
- if (type & Opportunistic)
- printf("opportunistic ");
if (type & Dynamic)
printf("dynamic ");