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

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

Issue 2290983003: CSSStyleSheetResource should cache decoded text instead of raw bytes (Closed)
Patch Set: 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/StyleSheetResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
index 2bcd3a761770bcd8ca91a3dee7f4efbae6426583..55ba33db2b9314ddc7f81c865b268d3bc097a003 100644
--- a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
@@ -38,7 +38,7 @@ class CORE_EXPORT StyleSheetResourceClient : public ResourceClient {
public:
static bool isExpectedType(ResourceClient* client) { return client->getResourceClientType() == StyleSheetType; }
ResourceClientType getResourceClientType() const final { return StyleSheetType; }
- virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*) {}
+ virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, CSSStyleSheetResource*) {}
virtual void setXSLStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* sheet */) {}
// This gets called on the very first appendData call for the

Powered by Google App Engine
This is Rietveld 408576698