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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp

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/inspector/InspectorResourceContentLoader.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
index f7547475e972e438dc4573f9593d5e4ad90db795..f792dc63966621857250e8a2b56ef10abbd6f490 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp
@@ -49,7 +49,7 @@ public:
private:
Member<InspectorResourceContentLoader> m_loader;
- void setCSSStyleSheet(const String&, const KURL&, const String&, const CSSStyleSheetResource*) override;
+ void setCSSStyleSheet(const String&, const KURL&, const String&, CSSStyleSheetResource*) override;
void notifyFinished(Resource*) override;
String debugName() const override { return "InspectorResourceContentLoader::ResourceClient"; }
void resourceFinished(Resource*);
@@ -68,7 +68,7 @@ void InspectorResourceContentLoader::ResourceClient::resourceFinished(Resource*
resource->removeClient(static_cast<StyleSheetResourceClient*>(this));
}
-void InspectorResourceContentLoader::ResourceClient::setCSSStyleSheet(const String&, const KURL& url, const String&, const CSSStyleSheetResource* resource)
+void InspectorResourceContentLoader::ResourceClient::setCSSStyleSheet(const String&, const KURL& url, const String&, CSSStyleSheetResource* resource)
{
resourceFinished(const_cast<CSSStyleSheetResource*>(resource));
}

Powered by Google App Engine
This is Rietveld 408576698