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

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

Issue 631223002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[fetch|fileapi] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 6f9b8cda9028bf1aed641dfe09f86c30fb773e72..2190a4d530fe1b61e8aff6169826c184a457d5c3 100644
--- a/Source/core/fetch/DocumentResource.h
+++ b/Source/core/fetch/DocumentResource.h
@@ -32,19 +32,19 @@ namespace blink {
class Document;
-class DocumentResource FINAL : public Resource {
+class DocumentResource final : public Resource {
public:
typedef ResourceClient ClientType;
DocumentResource(const ResourceRequest&, Type);
virtual ~DocumentResource();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
Document* document() const { return m_document.get(); }
- virtual void setEncoding(const String&) OVERRIDE;
- virtual String encoding() const OVERRIDE;
- virtual void checkNotify() OVERRIDE;
+ virtual void setEncoding(const String&) override;
+ virtual String encoding() const override;
+ virtual void checkNotify() override;
private:
PassRefPtrWillBeRawPtr<Document> createDocument(const KURL&);
@@ -60,7 +60,7 @@ class DocumentResourceClient : public ResourceClient {
public:
virtual ~DocumentResourceClient() { }
static ResourceClientType expectedType() { return DocumentType; }
- virtual ResourceClientType resourceClientType() const OVERRIDE { return expectedType(); }
+ virtual 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