Index: Source/WebCore/loader/cache/CachedResource.cpp |
=================================================================== |
--- Source/WebCore/loader/cache/CachedResource.cpp (revision 100566) |
+++ Source/WebCore/loader/cache/CachedResource.cpp (working copy) |
@@ -111,6 +111,7 @@ |
, m_resourceToRevalidate(0) |
, m_proxyResource(0) |
{ |
+ ASSERT(m_type == unsigned(type)); // m_type is a bitfield, so this tests careless updates of the enum. |
#ifndef NDEBUG |
cachedResourceLeakCounter.increment(); |
#endif |