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

Unified Diff: Source/core/fetch/StyleSheetResourceClient.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 | « Source/core/fetch/ScriptResource.h ('k') | Source/core/fetch/TextResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/StyleSheetResourceClient.h
diff --git a/Source/core/fetch/StyleSheetResourceClient.h b/Source/core/fetch/StyleSheetResourceClient.h
index bde2093d3f18baa558f600352c837cad70c69471..4e3c46e98c72dbf7f3a94be649b31d607b5d9519 100644
--- a/Source/core/fetch/StyleSheetResourceClient.h
+++ b/Source/core/fetch/StyleSheetResourceClient.h
@@ -35,11 +35,11 @@ class CSSStyleSheetResource;
class StyleSheetResourceClient : public ResourceClient {
public:
- virtual ~StyleSheetResourceClient() { }
+ ~StyleSheetResourceClient() override {}
static ResourceClientType expectedType() { return StyleSheetType; }
- virtual ResourceClientType resourceClientType() const override final { return expectedType(); }
- virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*) { }
- virtual void setXSLStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* sheet */) { }
+ ResourceClientType resourceClientType() const final { return expectedType(); }
+ virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*) {}
+ virtual void setXSLStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* sheet */) {}
};
}
« no previous file with comments | « Source/core/fetch/ScriptResource.h ('k') | Source/core/fetch/TextResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698