Index: Source/core/html/shadow/SpinButtonElement.h |
diff --git a/Source/core/html/shadow/SpinButtonElement.h b/Source/core/html/shadow/SpinButtonElement.h |
index 41de8fcdaeee2f8ae3e3340bc437c30f9a8f9424..8c3da22f80948b513f6812ddfe125be08c9e78c1 100644 |
--- a/Source/core/html/shadow/SpinButtonElement.h |
+++ b/Source/core/html/shadow/SpinButtonElement.h |
@@ -56,7 +56,7 @@ public: |
// implementation, e.g. during event handling. |
static PassRefPtr<SpinButtonElement> create(Document&, SpinButtonOwner&); |
UpDownState upDownState() const { return m_upDownState; } |
- virtual void releaseCapture(); |
+ void releaseCapture(); |
void removeSpinButtonOwner() { m_spinButtonOwner = 0; } |
void step(int amount); |
@@ -70,19 +70,19 @@ private: |
SpinButtonElement(Document&, SpinButtonOwner&); |
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
- virtual bool isSpinButtonElement() const { return true; } |
+ virtual bool isSpinButtonElement() const OVERRIDE { return true; } |
virtual bool isDisabledFormControl() const OVERRIDE { return shadowHost() && shadowHost()->isDisabledFormControl(); } |
virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; |
virtual bool matchesReadWritePseudoClass() const OVERRIDE; |
- virtual void defaultEventHandler(Event*); |
+ virtual void defaultEventHandler(Event*) OVERRIDE; |
virtual void willOpenPopup() OVERRIDE; |
void doStepAction(int); |
void startRepeatingTimer(); |
void stopRepeatingTimer(); |
void repeatingTimerFired(Timer<SpinButtonElement>*); |
- virtual void setHovered(bool = true); |
+ virtual void setHovered(bool = true) OVERRIDE; |
bool shouldRespondToMouseEvents(); |
- virtual bool isMouseFocusable() const { return false; } |
+ virtual bool isMouseFocusable() const OVERRIDE { return false; } |
SpinButtonOwner* m_spinButtonOwner; |
bool m_capturing; |