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

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

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/dom/Node.h ('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 2c80225746127a128ca82f3f01eada233d99beb7..72bf1b32e57f0fe962074f248398a4d7e19fa7c0 100644
--- a/Source/core/dom/ProcessingInstruction.h
+++ b/Source/core/dom/ProcessingInstruction.h
@@ -37,7 +37,7 @@ class ProcessingInstruction final : public CharacterData, private ResourceOwner<
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
- virtual ~ProcessingInstruction();
+ ~ProcessingInstruction() override;
DECLARE_VIRTUAL_TRACE();
const String& target() const { return m_target; }
@@ -78,20 +78,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;
+ String nodeName() const override;
+ NodeType nodeType() const override;
+ PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
- virtual void removedFrom(ContainerNode*) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ 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;
+ void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) override;
+ void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) override;
- virtual bool sheetLoaded() override;
+ bool sheetLoaded() override;
void parseStyleSheet(const String& sheet);
void clearSheet();
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/PseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698