Index: Source/core/fetch/CSSStyleSheetResource.h |
diff --git a/Source/core/fetch/CSSStyleSheetResource.h b/Source/core/fetch/CSSStyleSheetResource.h |
index 4ca19857c87211a110c40a3b1dd4647d69550b3c..83aabcd22871e5064279dcdfd8a4ec5411234099 100644 |
--- a/Source/core/fetch/CSSStyleSheetResource.h |
+++ b/Source/core/fetch/CSSStyleSheetResource.h |
@@ -36,16 +36,16 @@ class ResourceClient; |
class StyleSheetContents; |
class TextResourceDecoder; |
-class CSSStyleSheetResource : public StyleSheetResource { |
+class CSSStyleSheetResource FINAL : public StyleSheetResource { |
public: |
CSSStyleSheetResource(const ResourceRequest&, const String& charset); |
virtual ~CSSStyleSheetResource(); |
const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const; |
- virtual void didAddClient(ResourceClient*); |
- virtual void setEncoding(const String&); |
- virtual String encoding() const; |
+ virtual void didAddClient(ResourceClient*) OVERRIDE; |
+ virtual void setEncoding(const String&) OVERRIDE; |
+ virtual String encoding() const OVERRIDE; |
virtual void destroyDecodedData() OVERRIDE; |
PassRefPtr<StyleSheetContents> restoreParsedStyleSheet(const CSSParserContext&); |
@@ -53,9 +53,7 @@ public: |
private: |
bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const; |
- |
-protected: |
- virtual void checkNotify(); |
+ virtual void checkNotify() OVERRIDE; |
OwnPtr<TextResourceDecoder> m_decoder; |
String m_decodedSheetText; |