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

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

Issue 2290983003: CSSStyleSheetResource should cache decoded text instead of raw bytes (Closed)
Patch Set: hiroshige review Created 4 years, 4 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 46888b5368c023d4ac7eaaf7ab802d501715c2b3..4a2468b81c6e4a47f51fb294b7cdde6020042906 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
@@ -78,6 +78,7 @@ private:
void destroyDecodedDataIfPossible() override;
void destroyDecodedDataForFailedRevalidation() override { destroyDecodedDataIfPossible(); }
+ // Decoded sheet text cache is available iff loading this CSS resource is successfully complete.
String m_decodedSheetText;
Member<StyleSheetContents> m_parsedStyleSheetCache;

Powered by Google App Engine
This is Rietveld 408576698