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

Unified Diff: Source/core/dom/PseudoElement.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/ProcessingInstruction.h ('k') | Source/core/dom/Range.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 25761531be3d1da66b308d000187aaa62bfb1690..db6671fa6fd5cd9b3088f8f2cead7ebca09c9ec1 100644
--- a/Source/core/dom/PseudoElement.h
+++ b/Source/core/dom/PseudoElement.h
@@ -32,20 +32,20 @@
namespace blink {
-class PseudoElement FINAL : public Element {
+class PseudoElement final : public Element {
public:
static PassRefPtrWillBeRawPtr<PseudoElement> create(Element* parent, PseudoId pseudoId)
{
return adoptRefWillBeNoop(new PseudoElement(parent, pseudoId));
}
- virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
- virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
- virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
+ virtual PassRefPtr<RenderStyle> customStyleForRenderer() override;
+ virtual void attach(const AttachContext& = AttachContext()) override;
+ virtual bool rendererIsNeeded(const RenderStyle&) override;
- virtual bool canStartSelection() const OVERRIDE { return false; }
- virtual bool canContainRangeEndPoint() const OVERRIDE { return false; }
- virtual PseudoId pseudoId() const OVERRIDE { return m_pseudoId; }
+ virtual bool canStartSelection() const override { return false; }
+ virtual bool canContainRangeEndPoint() const override { return false; }
+ virtual PseudoId pseudoId() const override { return m_pseudoId; }
static String pseudoElementNameForEvents(PseudoId);
@@ -54,7 +54,7 @@ public:
private:
PseudoElement(Element*, PseudoId);
- virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE;
+ virtual void didRecalcStyle(StyleRecalcChange) override;
PseudoId m_pseudoId;
};
« no previous file with comments | « Source/core/dom/ProcessingInstruction.h ('k') | Source/core/dom/Range.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698