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

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

Issue 1976463003: Preload scan external CSS for @import (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + minor style tweaks 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/CSSStyleSheetResource.h
diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
index b90b5447c43fa65e9e91301fb431955da94e5e67..46888b5368c023d4ac7eaaf7ab802d501715c2b3 100644
--- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
+++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.h
@@ -55,6 +55,8 @@ public:
StyleSheetContents* restoreParsedStyleSheet(const CSSParserContext&);
void saveParsedStyleSheet(StyleSheetContents*);
+ void appendData(const char* data, size_t length) override;
+
private:
class CSSStyleSheetResourceFactory : public ResourceFactory {
public:
@@ -79,6 +81,8 @@ private:
String m_decodedSheetText;
Member<StyleSheetContents> m_parsedStyleSheetCache;
+
+ bool m_didNotifyFirstData;
};
DEFINE_RESOURCE_TYPE_CASTS(CSSStyleSheet);
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698