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

Unified Diff: Source/core/dom/ProcessingInstruction.h

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (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/dom/PresentationAttributeStyle.cpp ('k') | Source/core/dom/PseudoElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ProcessingInstruction.h
diff --git a/Source/core/dom/ProcessingInstruction.h b/Source/core/dom/ProcessingInstruction.h
index f5d7e889f8df9660ab486f760102b431866886a7..ba5e570f3f4e8aac8d362a2d61ecc15af6a9127e 100644
--- a/Source/core/dom/ProcessingInstruction.h
+++ b/Source/core/dom/ProcessingInstruction.h
@@ -32,12 +32,12 @@ namespace blink {
class StyleSheet;
class CSSStyleSheet;
-class ProcessingInstruction FINAL : public CharacterData, private ResourceOwner<StyleSheetResource> {
+class ProcessingInstruction final : public CharacterData, private ResourceOwner<StyleSheetResource> {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
virtual ~ProcessingInstruction();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
const String& target() const { return m_target; }
@@ -56,20 +56,20 @@ public:
private:
ProcessingInstruction(Document&, const String& target, const String& data);
- virtual String nodeName() const OVERRIDE;
- virtual NodeType nodeType() const OVERRIDE;
- virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE;
+ virtual String nodeName() const override;
+ virtual NodeType nodeType() const override;
+ virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- virtual void removedFrom(ContainerNode*) OVERRIDE;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void removedFrom(ContainerNode*) override;
bool checkStyleSheet(String& href, String& charset);
void process(const String& href, const String& charset);
- virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) OVERRIDE;
- virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) OVERRIDE;
+ virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) override;
+ virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) override;
- virtual bool sheetLoaded() OVERRIDE;
+ virtual bool sheetLoaded() override;
void parseStyleSheet(const String& sheet);
void clearSheet();
« no previous file with comments | « Source/core/dom/PresentationAttributeStyle.cpp ('k') | Source/core/dom/PseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698