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

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

Issue 2153073002: Refactoring: Make some methods and fields private in Resource subclasses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/Source/core/fetch/FontResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6d3e0acbd8c9dc2bc953174ee3a130d86d9901f6..bf37f4f31518b593ccdb12b43a74cdfa20159ddd 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
@@ -55,11 +55,6 @@ public:
StyleSheetContents* restoreParsedStyleSheet(const CSSParserContext&);
void saveParsedStyleSheet(StyleSheetContents*);
-protected:
- bool isSafeToUnlock() const override;
- void destroyDecodedDataIfPossible() override;
- void destroyDecodedDataForFailedRevalidation() override { destroyDecodedDataIfPossible(); }
-
private:
class CSSStyleSheetResourceFactory : public ResourceFactory {
public:
@@ -78,6 +73,10 @@ private:
void setParsedStyleSheetCache(StyleSheetContents*);
+ bool isSafeToUnlock() const override;
+ void destroyDecodedDataIfPossible() override;
+ void destroyDecodedDataForFailedRevalidation() override { destroyDecodedDataIfPossible(); }
+
String m_decodedSheetText;
Member<StyleSheetContents> m_parsedStyleSheetCache;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/FontResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698