Index: third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
index 8aa33d13f76e3b233933654410925106089ba313..9b881f7b50ce5a5f7a436d6aedc81810554a6110 100644 |
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp |
@@ -98,6 +98,14 @@ const String CSSStyleSheetResource::sheetText(MIMETypeCheck mimeTypeCheck) const |
return decodedText(); |
} |
+void CSSStyleSheetResource::appendData(const char* data, size_t length) |
+{ |
+ Resource::appendData(data, length); |
+ ResourceClientWalker<StyleSheetResourceClient> w(m_clients); |
+ while (StyleSheetResourceClient* c = w.next()) |
+ c->didAppendData(this); |
kouhei (in TOK)
2016/04/21 06:35:03
I'd prefer if the hook is only called on the first
Charlie Harrison
2016/04/25 15:14:34
Done.
|
+} |
+ |
void CSSStyleSheetResource::checkNotify() |
{ |
// Decode the data to find out the encoding and keep the sheet text around during checkNotify() |