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

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

Issue 733993002: CSS: Drop the quirks-mode exception for CSS MIME types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 5 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
« 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 f7e9d5e88675e47bcbc4a7dd5220c2da16f6b1c8..3777a7ab5b1180084043ea6ea5221c8b576f61e2 100644
--- a/Source/core/fetch/CSSStyleSheetResource.h
+++ b/Source/core/fetch/CSSStyleSheetResource.h
@@ -42,7 +42,7 @@ public:
virtual ~CSSStyleSheetResource();
virtual void trace(Visitor*) override;
- 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