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

Unified Diff: Source/WebCore/loader/cache/CachedResource.cpp

Issue 8588025: Merge 99565 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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 | « Source/WebCore/loader/cache/CachedResource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/WebCore/loader/cache/CachedResource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698