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

Unified Diff: third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h

Issue 1807323002: [WeakMemoryCache 1a] Make Reference from Inspector to Resource weak, remove removedFromMemoryCache() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove some comments Created 4 years, 7 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
Index: third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
index 0e60508c9e103a2676b49f0be6934c0d421595ea..a16d04d035b3ce3ad43248cb2d1eb1b4d8f0ff8b 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
@@ -74,8 +74,10 @@ private:
CSSStyleSheetResource(const ResourceRequest&, const ResourceLoaderOptions&, const String& charset);
bool canUseSheet(MIMETypeCheck) const;
- void removedFromMemoryCache() override;
void checkNotify() override;
+ void willDestroyResourceInternal() override;
+
+ void setParsedStyleSheetCache(StyleSheetContents*);
String m_decodedSheetText;

Powered by Google App Engine
This is Rietveld 408576698