| Index: Source/core/layout/LayoutCounter.h
|
| diff --git a/Source/core/layout/LayoutCounter.h b/Source/core/layout/LayoutCounter.h
|
| index 28b1873bad4b32f0f6bf011af6a0d2c2d9370ec9..abbe300b256cd34174bd157177a20a7b22a9948d 100644
|
| --- a/Source/core/layout/LayoutCounter.h
|
| +++ b/Source/core/layout/LayoutCounter.h
|
| @@ -32,7 +32,7 @@ class CounterNode;
|
| class LayoutCounter final : public LayoutText {
|
| public:
|
| LayoutCounter(Document*, const CounterContent&);
|
| - virtual ~LayoutCounter();
|
| + ~LayoutCounter() override;
|
|
|
| static void destroyCounterNodes(LayoutObject&);
|
| static void destroyCounterNode(LayoutObject&, const AtomicString& identifier);
|
| @@ -42,14 +42,14 @@ public:
|
|
|
| void updateCounter();
|
|
|
| - virtual const char* name() const override { return "LayoutCounter"; }
|
| + const char* name() const override { return "LayoutCounter"; }
|
|
|
| protected:
|
| - virtual void willBeDestroyed() override;
|
| + void willBeDestroyed() override;
|
|
|
| private:
|
| - virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCounter || LayoutText::isOfType(type); }
|
| - virtual PassRefPtr<StringImpl> originalText() const override;
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCounter || LayoutText::isOfType(type); }
|
| + PassRefPtr<StringImpl> originalText() const override;
|
|
|
| // Removes the reference to the CounterNode associated with this layoutObject.
|
| // This is used to cause a counter display update when the CounterNode tree changes.
|
|
|