Index: third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
index 66090f422ccc49ad3c753a8f3c679cc740772035..79944b497c9307516fb3714d8c57b14a215585be 100644 |
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
@@ -158,7 +158,7 @@ StyleSheetContents* CSSStyleSheetResource::restoreParsedStyleSheet(const CSSPars |
return nullptr; |
} |
- ASSERT(m_parsedStyleSheetCache->isCacheable()); |
+ ASSERT(m_parsedStyleSheetCache->isCacheableForResource()); |
ASSERT(m_parsedStyleSheetCache->isReferencedFromResource()); |
// Contexts must be identical so we know we would get the same exact result if we parsed again. |
@@ -172,7 +172,7 @@ StyleSheetContents* CSSStyleSheetResource::restoreParsedStyleSheet(const CSSPars |
void CSSStyleSheetResource::saveParsedStyleSheet(StyleSheetContents* sheet) |
{ |
- ASSERT(sheet && sheet->isCacheable()); |
+ ASSERT(sheet && sheet->isCacheableForResource()); |
if (!memoryCache()->contains(this)) { |
// This stylesheet resource did conflict with another resource and was |