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 5df4c11ed2c7271481c98d59143bc8a547bbae10..763015bfe8f64e39a326e59f580e92bb117b0d73 100644 |
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
@@ -87,8 +87,6 @@ void CSSStyleSheetResource::didAddClient(ResourceClient* c) |
const String CSSStyleSheetResource::sheetText(MIMETypeCheck mimeTypeCheck) const |
{ |
- ASSERT(!isPurgeable()); |
- |
if (!data() || data()->isEmpty() || !canUseSheet(mimeTypeCheck)) |
return String(); |
@@ -112,11 +110,6 @@ void CSSStyleSheetResource::checkNotify() |
m_decodedSheetText = String(); |
} |
-bool CSSStyleSheetResource::isSafeToUnlock() const |
-{ |
- return data()->hasOneRef(); |
-} |
- |
void CSSStyleSheetResource::destroyDecodedDataIfPossible() |
{ |
if (!m_parsedStyleSheetCache) |