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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.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/css/StyleSheetContents.h
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h
index 1a12b8a2d5a1104cbad97bb81fe573014cc7bd9b..34f0ff24bce559417bd5f8b2a665f5c4d255e4e5 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h
@@ -141,9 +141,8 @@ public:
void removeSheetFromCache(Document*);
- bool isInMemoryCache() const { return m_isInMemoryCache; }
- void addedToMemoryCache();
- void removedFromMemoryCache();
+ bool isReferencedFromResource() const { return m_isReferencedFromResource; }
+ void setReferencedFromResource(bool);
void setHasMediaQueries();
bool hasMediaQueries() const { return m_hasMediaQueries; }
@@ -181,7 +180,7 @@ private:
bool m_hasSyntacticallyValidCSSHeader : 1;
bool m_didLoadErrorOccur : 1;
bool m_isMutable : 1;
- bool m_isInMemoryCache : 1;
+ bool m_isReferencedFromResource : 1;
bool m_hasFontFaceRule : 1;
bool m_hasMediaQueries : 1;
bool m_hasSingleOwnerDocument : 1;

Powered by Google App Engine
This is Rietveld 408576698