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

Unified Diff: third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.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/loader/LinkPreloadResourceClients.h
diff --git a/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h b/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h
index 5d916e585dc7b7d88200f3b4ab08249d77af258f..d09d6cddd12b871cb3a780ac07c795d6351f1484 100644
--- a/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h
+++ b/third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h
@@ -87,7 +87,7 @@ public:
void clear() override { clearResource(); }
- void setCSSStyleSheet(const String&, const KURL&, const String&, const CSSStyleSheetResource* resource) override
+ void setCSSStyleSheet(const String&, const KURL&, const String&, CSSStyleSheetResource* resource) override
{
ASSERT(this->resource() == resource);
triggerEvents(static_cast<const Resource*>(resource));

Powered by Google App Engine
This is Rietveld 408576698