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

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

Issue 166633002: Prefetch @import files from CSS files. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Prefetching now handled just like for other resources. Created 6 years, 10 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: Source/core/fetch/CSSStyleSheetResource.h
diff --git a/Source/core/fetch/CSSStyleSheetResource.h b/Source/core/fetch/CSSStyleSheetResource.h
index 35d0b0f9c63995d64785262535ace8e8215e646b..b72329b0d88c076e70699fbd307400f4a29e3580 100644
--- a/Source/core/fetch/CSSStyleSheetResource.h
+++ b/Source/core/fetch/CSSStyleSheetResource.h
@@ -58,6 +58,7 @@ protected:
private:
bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
virtual void checkNotify() OVERRIDE;
+ virtual void appendData(const char* data, int length) OVERRIDE;
OwnPtr<TextResourceDecoder> m_decoder;
String m_decodedSheetText;

Powered by Google App Engine
This is Rietveld 408576698