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

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

Issue 1126133003: CSS: Drop the quirks-mode exception for CSS MIME types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test. Created 5 years, 7 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
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/CSSStyleSheetResource.h
diff --git a/Source/core/fetch/CSSStyleSheetResource.h b/Source/core/fetch/CSSStyleSheetResource.h
index 01da2164af51667a669bbb9929b47c3f10effc70..2ce492d91b21c12b6e0d269016d8ff3ff027d153 100644
--- a/Source/core/fetch/CSSStyleSheetResource.h
+++ b/Source/core/fetch/CSSStyleSheetResource.h
@@ -42,7 +42,7 @@ public:
virtual ~CSSStyleSheetResource();
DECLARE_VIRTUAL_TRACE();
- const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const;
+ const String sheetText(bool* hasValidMIMEType = 0) const;
const AtomicString mimeType() const;
@@ -56,7 +56,7 @@ protected:
virtual void destroyDecodedDataIfPossible() override;
private:
- bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
+ bool canUseSheet(bool* hasValidMIMEType) const;
virtual void dispose() override;
virtual void checkNotify() override;
« no previous file with comments | « Source/core/dom/ProcessingInstruction.cpp ('k') | Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698