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

Unified Diff: Source/core/xml/XSLStyleSheet.h

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (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/xml/XSLImportRule.h ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XSLStyleSheet.h
diff --git a/Source/core/xml/XSLStyleSheet.h b/Source/core/xml/XSLStyleSheet.h
index 6f3cd30167ebaec653f1e92b6dacb6711775c3aa..ed4c79c6b5949ad2f415b9845501b28a27467ec3 100644
--- a/Source/core/xml/XSLStyleSheet.h
+++ b/Source/core/xml/XSLStyleSheet.h
@@ -35,7 +35,7 @@ namespace blink {
class ResourceFetcher;
class XSLImportRule;
-class XSLStyleSheet FINAL : public StyleSheet {
+class XSLStyleSheet final : public StyleSheet {
public:
static PassRefPtrWillBeRawPtr<XSLStyleSheet> create(XSLImportRule* parentImport, const String& originalURL, const KURL& finalURL)
{
@@ -76,7 +76,7 @@ public:
ResourceFetcher* fetcher();
Document* ownerDocument();
- virtual XSLStyleSheet* parentStyleSheet() const OVERRIDE { return m_parentStyleSheet; }
+ virtual XSLStyleSheet* parentStyleSheet() const override { return m_parentStyleSheet; }
void setParentStyleSheet(XSLStyleSheet*);
xmlDocPtr document();
@@ -88,18 +88,18 @@ public:
void markAsProcessed();
bool processed() const { return m_processed; }
- virtual String type() const OVERRIDE { return "text/xml"; }
- virtual bool disabled() const OVERRIDE { return m_isDisabled; }
- virtual void setDisabled(bool b) OVERRIDE { m_isDisabled = b; }
- virtual Node* ownerNode() const OVERRIDE { return m_ownerNode; }
- virtual String href() const OVERRIDE { return m_originalURL; }
- virtual String title() const OVERRIDE { return emptyString(); }
+ virtual String type() const override { return "text/xml"; }
+ virtual bool disabled() const override { return m_isDisabled; }
+ virtual void setDisabled(bool b) override { m_isDisabled = b; }
+ virtual Node* ownerNode() const override { return m_ownerNode; }
+ virtual String href() const override { return m_originalURL; }
+ virtual String title() const override { return emptyString(); }
- virtual void clearOwnerNode() OVERRIDE { m_ownerNode = nullptr; }
- virtual KURL baseURL() const OVERRIDE { return m_finalURL; }
- virtual bool isLoading() const OVERRIDE;
+ virtual void clearOwnerNode() override { m_ownerNode = nullptr; }
+ virtual KURL baseURL() const override { return m_finalURL; }
+ virtual bool isLoading() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded);
« no previous file with comments | « Source/core/xml/XSLImportRule.h ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698