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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheet.h

Issue 1658923004: PurgeMemory. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/StyleSheet.h
diff --git a/third_party/WebKit/Source/core/css/StyleSheet.h b/third_party/WebKit/Source/core/css/StyleSheet.h
index 19cf11ffdb1c6e552ffb19bf8ca407c9e708facc..6bd3e6757144b9cd2c524de31c2472a38638f503 100644
--- a/third_party/WebKit/Source/core/css/StyleSheet.h
+++ b/third_party/WebKit/Source/core/css/StyleSheet.h
@@ -55,6 +55,8 @@ public:
virtual bool isLoading() const = 0;
virtual bool isCSSStyleSheet() const { return false; }
+ virtual void purgeMemory() { }
+
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleNamespace.h ('k') | third_party/WebKit/Source/core/css/StyleSheetContents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698