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

Unified Diff: Source/core/fetch/CSSStyleSheetResource.cpp

Issue 389553002: Refactoring: Make ~CSSStyleSheetResource empty. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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/core/fetch/CSSStyleSheetResource.h ('k') | Source/core/fetch/Resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/CSSStyleSheetResource.cpp
diff --git a/Source/core/fetch/CSSStyleSheetResource.cpp b/Source/core/fetch/CSSStyleSheetResource.cpp
index 2eab0d54d4a890a7be1cc5089b0d5f850c8c55ba..a52268259b0dedbbf0a51aed526c6febd85a7113 100644
--- a/Source/core/fetch/CSSStyleSheetResource.cpp
+++ b/Source/core/fetch/CSSStyleSheetResource.cpp
@@ -49,6 +49,10 @@ CSSStyleSheetResource::CSSStyleSheetResource(const ResourceRequest& resourceRequ
CSSStyleSheetResource::~CSSStyleSheetResource()
{
haraken 2014/07/14 07:28:11 Shall we call m_parsedStyleSheetCache.clear() in d
tkent 2014/07/14 08:47:41 Done.
+}
+
+void CSSStyleSheetResource::dispose()
+{
if (m_parsedStyleSheetCache)
m_parsedStyleSheetCache->removedFromMemoryCache();
}
« no previous file with comments | « Source/core/fetch/CSSStyleSheetResource.h ('k') | Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698