From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLFormControlElementWithState.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'Source/WebCore/html/HTMLFormControlElementWithState.h') diff --git a/Source/WebCore/html/HTMLFormControlElementWithState.h b/Source/WebCore/html/HTMLFormControlElementWithState.h index 99f04e053..72a145358 100644 --- a/Source/WebCore/html/HTMLFormControlElementWithState.h +++ b/Source/WebCore/html/HTMLFormControlElementWithState.h @@ -21,8 +21,7 @@ * */ -#ifndef HTMLFormControlElementWithState_h -#define HTMLFormControlElementWithState_h +#pragma once #include "HTMLFormControlElement.h" @@ -34,24 +33,21 @@ class HTMLFormControlElementWithState : public HTMLFormControlElement { public: virtual ~HTMLFormControlElementWithState(); - virtual bool canContainRangeEndPoint() const override { return false; } + bool canContainRangeEndPoint() const override { return false; } virtual bool shouldSaveAndRestoreFormControlState() const; virtual FormControlState saveFormControlState() const; // The specified FormControlState must have at least one string value. virtual void restoreFormControlState(const FormControlState&) { } - void notifyFormStateChanged(); protected: HTMLFormControlElementWithState(const QualifiedName& tagName, Document&, HTMLFormElement*); virtual bool shouldAutocomplete() const; - virtual void finishParsingChildren() override; - virtual InsertionNotificationRequest insertedInto(ContainerNode&) override; - virtual void removedFrom(ContainerNode&) override; - virtual bool isFormControlElementWithState() const override; + void finishParsingChildren() override; + InsertionNotificationRequest insertedInto(ContainerNode&) override; + void removedFrom(ContainerNode&) override; + bool isFormControlElementWithState() const override; }; -} // namespace - -#endif +} // namespace WebCore -- cgit v1.2.1