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

Unified Diff: Source/core/dom/PseudoElement.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/ProcessingInstruction.h ('k') | Source/core/dom/RawDataDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/PseudoElement.h
diff --git a/Source/core/dom/PseudoElement.h b/Source/core/dom/PseudoElement.h
index 270d8b1378b18eeef5c4199dce831b718067b0f8..e4c62dca17d912a580b209eff13e3a008cc4195b 100644
--- a/Source/core/dom/PseudoElement.h
+++ b/Source/core/dom/PseudoElement.h
@@ -37,13 +37,13 @@ class CORE_EXPORT PseudoElement : public Element {
public:
static PassRefPtrWillBeRawPtr<PseudoElement> create(Element* parent, PseudoId);
- virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
- virtual void attach(const AttachContext& = AttachContext()) override;
- virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
+ PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
+ void attach(const AttachContext& = AttachContext()) override;
+ bool layoutObjectIsNeeded(const ComputedStyle&) override;
- virtual bool canStartSelection() const override { return false; }
- virtual bool canContainRangeEndPoint() const override { return false; }
- virtual PseudoId pseudoId() const override { return m_pseudoId; }
+ bool canStartSelection() const override { return false; }
+ bool canContainRangeEndPoint() const override { return false; }
+ PseudoId pseudoId() const override { return m_pseudoId; }
static String pseudoElementNameForEvents(PseudoId);
@@ -55,7 +55,7 @@ protected:
PseudoElement(Element*, PseudoId);
private:
- virtual void didRecalcStyle(StyleRecalcChange) override;
+ void didRecalcStyle(StyleRecalcChange) override;
PseudoId m_pseudoId;
};
« no previous file with comments | « Source/core/dom/ProcessingInstruction.h ('k') | Source/core/dom/RawDataDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698