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

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

Issue 2477293002: Report the size of |CSSStyleSheetResource::m_decodedSheetText| as decoded size (Closed)
Patch Set: setDecodedSheetText() Created 4 years, 1 month 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/CSSStyleSheetResource.cpp » ('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 7426b3b218a49a52d61ceed5a6129ce5934922c4..43fc6ff17003514c90247c1e1a4e6751042648d8 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
@@ -77,9 +77,11 @@ class CORE_EXPORT CSSStyleSheetResource final : public StyleSheetResource {
void checkNotify() override;
void setParsedStyleSheetCache(StyleSheetContents*);
+ void setDecodedSheetText(const String&);
void destroyDecodedDataIfPossible() override;
void destroyDecodedDataForFailedRevalidation() override;
+ void updateDecodedSize();
// Decoded sheet text cache is available iff loading this CSS resource is
// successfully complete.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698