| Index: Source/core/fetch/CSSStyleSheetResource.h
|
| diff --git a/Source/core/fetch/CSSStyleSheetResource.h b/Source/core/fetch/CSSStyleSheetResource.h
|
| index 3777a7ab5b1180084043ea6ea5221c8b576f61e2..f7e9d5e88675e47bcbc4a7dd5220c2da16f6b1c8 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* hasValidMIMEType = 0) const;
|
| + const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const;
|
|
|
| const AtomicString mimeType() const;
|
|
|
| @@ -56,7 +56,7 @@ protected:
|
| virtual void destroyDecodedDataIfPossible() override;
|
|
|
| private:
|
| - bool canUseSheet(bool* hasValidMIMEType) const;
|
| + bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
|
| virtual void dispose() override;
|
| virtual void checkNotify() override;
|
|
|
|
|