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

Unified Diff: Source/core/fetch/DocumentResource.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/CSSStyleSheetResource.h ('k') | Source/core/fetch/DocumentResourceReference.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/DocumentResource.h
diff --git a/Source/core/fetch/DocumentResource.h b/Source/core/fetch/DocumentResource.h
index d2af5b808cf3a8f5262dfea64a80496b8cb3895b..bdfc19adbe15c419e11766abaf8c528c1655d6aa 100644
--- a/Source/core/fetch/DocumentResource.h
+++ b/Source/core/fetch/DocumentResource.h
@@ -39,14 +39,14 @@ public:
typedef ResourceClient ClientType;
static ResourcePtr<DocumentResource> fetchSVGDocument(FetchRequest&, ResourceFetcher*);
- virtual ~DocumentResource();
+ ~DocumentResource() override;
DECLARE_VIRTUAL_TRACE();
Document* document() const { return m_document.get(); }
- virtual void setEncoding(const String&) override;
- virtual String encoding() const override;
- virtual void checkNotify() override;
+ void setEncoding(const String&) override;
+ String encoding() const override;
+ void checkNotify() override;
private:
class SVGDocumentResourceFactory : public ResourceFactory {
@@ -72,9 +72,9 @@ inline DocumentResource* toDocumentResource(const ResourcePtr<Resource>& ptr) {
class DocumentResourceClient : public ResourceClient {
public:
- virtual ~DocumentResourceClient() { }
+ ~DocumentResourceClient() override {}
static ResourceClientType expectedType() { return DocumentType; }
- virtual ResourceClientType resourceClientType() const override { return expectedType(); }
+ ResourceClientType resourceClientType() const override { return expectedType(); }
};
}
« no previous file with comments | « Source/core/fetch/CSSStyleSheetResource.h ('k') | Source/core/fetch/DocumentResourceReference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698