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

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

Issue 1229743005: Fix virtual/override/final usage in Source/core/{fetch,loader,streams,xmlhttprequest}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | « no previous file | Source/core/fetch/DocumentResource.h » ('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 d4c16d0b6fb3d1516b689e6f4d7cb382069d5009..2861bd1f31bf5dad68fa6c5545e3312f2397ca5d 100644
--- a/Source/core/fetch/CSSStyleSheetResource.h
+++ b/Source/core/fetch/CSSStyleSheetResource.h
@@ -44,21 +44,21 @@ public:
static ResourcePtr<CSSStyleSheetResource> fetch(FetchRequest&, ResourceFetcher*);
- virtual ~CSSStyleSheetResource();
+ ~CSSStyleSheetResource() override;
DECLARE_VIRTUAL_TRACE();
const String sheetText(MIMETypeCheck = MIMETypeCheck::Strict) const;
const AtomicString mimeType() const;
- virtual void didAddClient(ResourceClient*) override;
+ void didAddClient(ResourceClient*) override;
PassRefPtrWillBeRawPtr<StyleSheetContents> restoreParsedStyleSheet(const CSSParserContext&);
void saveParsedStyleSheet(PassRefPtrWillBeRawPtr<StyleSheetContents>);
protected:
- virtual bool isSafeToUnlock() const override;
- virtual void destroyDecodedDataIfPossible() override;
+ bool isSafeToUnlock() const override;
+ void destroyDecodedDataIfPossible() override;
private:
class CSSStyleSheetResourceFactory : public ResourceFactory {
@@ -74,8 +74,8 @@ private:
CSSStyleSheetResource(const ResourceRequest&, const String& charset);
bool canUseSheet(MIMETypeCheck) const;
- virtual void dispose() override;
- virtual void checkNotify() override;
+ void dispose() override;
+ void checkNotify() override;
String m_decodedSheetText;
« no previous file with comments | « no previous file | Source/core/fetch/DocumentResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698