Changeset 197566 in webkit


Ignore:
Timestamp:
Mar 4, 2016 9:20:46 AM (8 years ago)
Author:
Darin Adler
Message:

Followup to:
Remove "virtual" from all lines that have both "virtual" and "override".
https://bugs.webkit.org/show_bug.cgi?id=155005

Reviewed by Geoffrey Garen.

  • Scripts/do-webcore-rename: Added more regular expressions to make sure we always

use either override or final, not both, and to remove virtual from all lines that
have both virtual and final.

Location:
trunk
Files:
165 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/inspector/ScriptDebugServer.h

    r197563 r197566  
    9393    typedef HashMap<JSC::BreakpointID, BreakpointActions> BreakpointIDToActionsMap;
    9494
    95     void sourceParsed(JSC::ExecState*, JSC::SourceProvider*, int errorLine, const String& errorMsg) override final;
    96     bool needPauseHandling(JSC::JSGlobalObject*) override final { return true; }
    97     void handleBreakpointHit(JSC::JSGlobalObject*, const JSC::Breakpoint&) override final;
    98     void handleExceptionInBreakpointCondition(JSC::ExecState*, JSC::Exception*) const override final;
    99     void handlePause(JSC::JSGlobalObject*, JSC::Debugger::ReasonForPause) override final;
    100     void notifyDoneProcessingDebuggerEvents() override final;
     95    void sourceParsed(JSC::ExecState*, JSC::SourceProvider*, int errorLine, const String& errorMsg) final;
     96    bool needPauseHandling(JSC::JSGlobalObject*) final { return true; }
     97    void handleBreakpointHit(JSC::JSGlobalObject*, const JSC::Breakpoint&) final;
     98    void handleExceptionInBreakpointCondition(JSC::ExecState*, JSC::Exception*) const final;
     99    void handlePause(JSC::JSGlobalObject*, JSC::Debugger::ReasonForPause) final;
     100    void notifyDoneProcessingDebuggerEvents() final;
    101101
    102102    Deprecated::ScriptValue exceptionOrCaughtValue(JSC::ExecState*);
  • trunk/Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.h

    r197563 r197566  
    128128    Ref<Inspector::Protocol::Array<Inspector::Protocol::Debugger::CallFrame>> currentCallFrames(const InjectedScript&);
    129129
    130     void didParseSource(JSC::SourceID, const Script&) override final;
    131     void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) override final;
     130    void didParseSource(JSC::SourceID, const Script&) final;
     131    void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) final;
    132132
    133133    void breakpointActionSound(int breakpointActionIdentifier) override;
    134     void breakpointActionProbe(JSC::ExecState*, const ScriptBreakpointAction&, unsigned batchId, unsigned sampleId, const Deprecated::ScriptValue& sample) override final;
     134    void breakpointActionProbe(JSC::ExecState*, const ScriptBreakpointAction&, unsigned batchId, unsigned sampleId, const Deprecated::ScriptValue& sample) final;
    135135
    136136    RefPtr<Inspector::Protocol::Debugger::Location> resolveBreakpoint(const String& breakpointIdentifier, JSC::SourceID, const ScriptBreakpoint&);
  • trunk/Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.h

    r197563 r197566  
    6060    void enable(ErrorString&) override { m_enabled = true; }
    6161    void disable(ErrorString&) override { m_enabled = false; }
    62     void parse(ErrorString&, const String& expression, Inspector::Protocol::Runtime::SyntaxErrorType* result, Inspector::Protocol::OptOutput<String>* message, RefPtr<Inspector::Protocol::Runtime::ErrorRange>&) override final;
    63     void evaluate(ErrorString&, const String& expression, const String* objectGroup, const bool* includeCommandLineAPI, const bool* doNotPauseOnExceptionsAndMuteConsole, const int* executionContextId, const bool* returnByValue, const bool* generatePreview, const bool* saveResult, RefPtr<Inspector::Protocol::Runtime::RemoteObject>& result, Inspector::Protocol::OptOutput<bool>* wasThrown, Inspector::Protocol::OptOutput<int>* savedResultIndex) override final;
    64     void callFunctionOn(ErrorString&, const String& objectId, const String& expression, const Inspector::InspectorArray* optionalArguments, const bool* doNotPauseOnExceptionsAndMuteConsole, const bool* returnByValue, const bool* generatePreview, RefPtr<Inspector::Protocol::Runtime::RemoteObject>& result, Inspector::Protocol::OptOutput<bool>* wasThrown) override final;
    65     void releaseObject(ErrorString&, const ErrorString& objectId) override final;
    66     void getProperties(ErrorString&, const String& objectId, const bool* ownProperties, const bool* generatePreview, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::PropertyDescriptor>>& result, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::InternalPropertyDescriptor>>& internalProperties) override final;
    67     void getDisplayableProperties(ErrorString&, const String& objectId, const bool* generatePreview, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::PropertyDescriptor>>& result, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::InternalPropertyDescriptor>>& internalProperties) override final;
    68     void getCollectionEntries(ErrorString&, const String& objectId, const String* objectGroup, const int* startIndex, const int* numberToFetch, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::CollectionEntry>>& entries) override final;
    69     void saveResult(ErrorString&, const Inspector::InspectorObject& callArgument, const int* executionContextId, Inspector::Protocol::OptOutput<int>* savedResultIndex) override final;
    70     void releaseObjectGroup(ErrorString&, const String& objectGroup) override final;
     62    void parse(ErrorString&, const String& expression, Inspector::Protocol::Runtime::SyntaxErrorType* result, Inspector::Protocol::OptOutput<String>* message, RefPtr<Inspector::Protocol::Runtime::ErrorRange>&) final;
     63    void evaluate(ErrorString&, const String& expression, const String* objectGroup, const bool* includeCommandLineAPI, const bool* doNotPauseOnExceptionsAndMuteConsole, const int* executionContextId, const bool* returnByValue, const bool* generatePreview, const bool* saveResult, RefPtr<Inspector::Protocol::Runtime::RemoteObject>& result, Inspector::Protocol::OptOutput<bool>* wasThrown, Inspector::Protocol::OptOutput<int>* savedResultIndex) final;
     64    void callFunctionOn(ErrorString&, const String& objectId, const String& expression, const Inspector::InspectorArray* optionalArguments, const bool* doNotPauseOnExceptionsAndMuteConsole, const bool* returnByValue, const bool* generatePreview, RefPtr<Inspector::Protocol::Runtime::RemoteObject>& result, Inspector::Protocol::OptOutput<bool>* wasThrown) final;
     65    void releaseObject(ErrorString&, const ErrorString& objectId) final;
     66    void getProperties(ErrorString&, const String& objectId, const bool* ownProperties, const bool* generatePreview, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::PropertyDescriptor>>& result, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::InternalPropertyDescriptor>>& internalProperties) final;
     67    void getDisplayableProperties(ErrorString&, const String& objectId, const bool* generatePreview, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::PropertyDescriptor>>& result, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::InternalPropertyDescriptor>>& internalProperties) final;
     68    void getCollectionEntries(ErrorString&, const String& objectId, const String* objectGroup, const int* startIndex, const int* numberToFetch, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::CollectionEntry>>& entries) final;
     69    void saveResult(ErrorString&, const Inspector::InspectorObject& callArgument, const int* executionContextId, Inspector::Protocol::OptOutput<int>* savedResultIndex) final;
     70    void releaseObjectGroup(ErrorString&, const String& objectGroup) final;
    7171    void getRuntimeTypesForVariablesAtOffsets(ErrorString&, const Inspector::InspectorArray& locations, RefPtr<Inspector::Protocol::Array<Inspector::Protocol::Runtime::TypeDescription>>&) override;
    7272    void enableTypeProfiler(ErrorString&) override;
  • trunk/Source/JavaScriptCore/parser/Nodes.h

    r197563 r197566  
    264264        double value() const { return m_value; }
    265265        virtual bool isIntegerNode() const = 0;
    266         RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) override final;
    267 
    268     private:
    269         bool isNumber() const override final { return true; }
     266        RegisterID* emitBytecode(BytecodeGenerator&, RegisterID* = 0) final;
     267
     268    private:
     269        bool isNumber() const final { return true; }
    270270        JSValue jsValue(BytecodeGenerator&) const override { return jsNumber(m_value); }
    271271
     
    285285    public:
    286286        IntegerNode(const JSTokenLocation&, double value);
    287         bool isIntegerNode() const override final { return true; }
     287        bool isIntegerNode() const final { return true; }
    288288    };
    289289
  • trunk/Source/JavaScriptCore/replay/scripts/CodeGeneratorReplayInputs.py

    r194496 r197566  
    719719                "",
    720720                "    // EventLoopInput API",
    721                 "    virtual void dispatch(ReplayController&) override final;",
     721                "    virtual void dispatch(ReplayController&) final;",
    722722            ])
    723723
  • trunk/Source/JavaScriptCore/replay/scripts/tests/expected/generate-enum-with-guard.json-TestReplayInputs.h

    r197563 r197566  
    7373
    7474    // EventLoopInput API
    75     void dispatch(ReplayController&) override final;
     75    void dispatch(ReplayController&) final;
    7676    const PlatformWheelEvent& platformEvent() const { return *m_platformEvent; }
    7777    PlatformWheelPhase phase() const { return m_phase; }
  • trunk/Source/WebCore/Modules/gamepad/GamepadManager.h

    r197563 r197566  
    4747    static GamepadManager& singleton();
    4848
    49     void platformGamepadConnected(PlatformGamepad&) override final;
    50     void platformGamepadDisconnected(PlatformGamepad&) override final;
    51     void platformGamepadInputActivity() override final;
     49    void platformGamepadConnected(PlatformGamepad&) final;
     50    void platformGamepadDisconnected(PlatformGamepad&) final;
     51    void platformGamepadInputActivity() final;
    5252
    5353    void registerNavigator(NavigatorGamepad*);
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBAnyImpl.h

    r197563 r197566  
    7676    virtual ~IDBAny();
    7777
    78     Type type() const override final { return m_type; }
    79     RefPtr<WebCore::DOMStringList> domStringList() override final;
    80     RefPtr<WebCore::IDBCursor> idbCursor() override final;
    81     RefPtr<WebCore::IDBCursorWithValue> idbCursorWithValue() override final;
    82     RefPtr<WebCore::IDBDatabase> idbDatabase() override final;
    83     RefPtr<WebCore::IDBFactory> idbFactory() override final;
    84     RefPtr<WebCore::IDBIndex> idbIndex() override final;
    85     RefPtr<WebCore::IDBObjectStore> idbObjectStore() override final;
    86     RefPtr<WebCore::IDBTransaction> idbTransaction() override final;
    87     const Deprecated::ScriptValue& scriptValue() override final;
    88     int64_t integer() override final;
    89     const String& string() override final;
    90     const IDBKeyPath& keyPath() override final;
     78    Type type() const final { return m_type; }
     79    RefPtr<WebCore::DOMStringList> domStringList() final;
     80    RefPtr<WebCore::IDBCursor> idbCursor() final;
     81    RefPtr<WebCore::IDBCursorWithValue> idbCursorWithValue() final;
     82    RefPtr<WebCore::IDBDatabase> idbDatabase() final;
     83    RefPtr<WebCore::IDBFactory> idbFactory() final;
     84    RefPtr<WebCore::IDBIndex> idbIndex() final;
     85    RefPtr<WebCore::IDBObjectStore> idbObjectStore() final;
     86    RefPtr<WebCore::IDBTransaction> idbTransaction() final;
     87    const Deprecated::ScriptValue& scriptValue() final;
     88    int64_t integer() final;
     89    const String& string() final;
     90    const IDBKeyPath& keyPath() final;
    9191
    9292    IDBObjectStore* modernIDBObjectStore();
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBCursorImpl.h

    r197563 r197566  
    5050
    5151    // Implement the IDL
    52     const String& direction() const override final;
    53     const Deprecated::ScriptValue& key() const override final;
    54     const Deprecated::ScriptValue& primaryKey() const override final;
    55     const Deprecated::ScriptValue& value() const override final;
    56     IDBAny* source() override final;
     52    const String& direction() const final;
     53    const Deprecated::ScriptValue& key() const final;
     54    const Deprecated::ScriptValue& primaryKey() const final;
     55    const Deprecated::ScriptValue& value() const final;
     56    IDBAny* source() final;
    5757
    58     RefPtr<WebCore::IDBRequest> update(JSC::ExecState&, Deprecated::ScriptValue&, ExceptionCodeWithMessage&) override final;
    59     void advance(unsigned long, ExceptionCodeWithMessage&) override final;
    60     void continueFunction(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
    61     void continueFunction(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
    62     RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
     58    RefPtr<WebCore::IDBRequest> update(JSC::ExecState&, Deprecated::ScriptValue&, ExceptionCodeWithMessage&) final;
     59    void advance(unsigned long, ExceptionCodeWithMessage&) final;
     60    void continueFunction(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
     61    void continueFunction(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
     62    RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
    6363
    6464    void continueFunction(const IDBKeyData&, ExceptionCodeWithMessage&);
     
    7373
    7474    bool isKeyCursor() const override { return true; }
    75     bool isModernCursor() const override final { return true; }
     75    bool isModernCursor() const final { return true; }
    7676
    7777    void decrementOutstandingRequestCount();
     
    8383private:
    8484    // ActiveDOMObject.
    85     const char* activeDOMObjectName() const override final;
    86     bool canSuspendForDocumentSuspension() const override final;
    87     bool hasPendingActivity() const override final;
     85    const char* activeDOMObjectName() const final;
     86    bool canSuspendForDocumentSuspension() const final;
     87    bool hasPendingActivity() const final;
    8888
    8989    // Cursors are created with an outstanding iteration request.
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBCursorWithValueImpl.h

    r197563 r197566  
    4141    virtual ~IDBCursorWithValue();
    4242
    43     bool isKeyCursor() const override final { return false; }
     43    bool isKeyCursor() const final { return false; }
    4444
    4545private:
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBDatabaseImpl.h

    r197563 r197566  
    5050
    5151    // IDBDatabase IDL
    52     const String name() const override final;
    53     uint64_t version() const override final;
    54     RefPtr<DOMStringList> objectStoreNames() const override final;
     52    const String name() const final;
     53    uint64_t version() const final;
     54    RefPtr<DOMStringList> objectStoreNames() const final;
    5555
    56     RefPtr<WebCore::IDBObjectStore> createObjectStore(const String& name, const Dictionary&, ExceptionCodeWithMessage&) override final;
    57     RefPtr<WebCore::IDBObjectStore> createObjectStore(const String& name, const IDBKeyPath&, bool autoIncrement, ExceptionCodeWithMessage&) override final;
    58     RefPtr<WebCore::IDBTransaction> transaction(ScriptExecutionContext*, const Vector<String>&, const String& mode, ExceptionCodeWithMessage&) override final;
    59     RefPtr<WebCore::IDBTransaction> transaction(ScriptExecutionContext*, const String&, const String& mode, ExceptionCodeWithMessage&) override final;
    60     void deleteObjectStore(const String& name, ExceptionCodeWithMessage&) override final;
    61     void close() override final;
     56    RefPtr<WebCore::IDBObjectStore> createObjectStore(const String& name, const Dictionary&, ExceptionCodeWithMessage&) final;
     57    RefPtr<WebCore::IDBObjectStore> createObjectStore(const String& name, const IDBKeyPath&, bool autoIncrement, ExceptionCodeWithMessage&) final;
     58    RefPtr<WebCore::IDBTransaction> transaction(ScriptExecutionContext*, const Vector<String>&, const String& mode, ExceptionCodeWithMessage&) final;
     59    RefPtr<WebCore::IDBTransaction> transaction(ScriptExecutionContext*, const String&, const String& mode, ExceptionCodeWithMessage&) final;
     60    void deleteObjectStore(const String& name, ExceptionCodeWithMessage&) final;
     61    void close() final;
    6262
    6363    // EventTarget
    64     EventTargetInterface eventTargetInterface() const override final { return IDBDatabaseEventTargetInterfaceType; }
    65     ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
    66     void refEventTarget() override final { ref(); }
    67     void derefEventTarget() override final { deref(); }
     64    EventTargetInterface eventTargetInterface() const final { return IDBDatabaseEventTargetInterfaceType; }
     65    ScriptExecutionContext* scriptExecutionContext() const final { return ActiveDOMObject::scriptExecutionContext(); }
     66    void refEventTarget() final { ref(); }
     67    void derefEventTarget() final { deref(); }
    6868
    69     const char* activeDOMObjectName() const override final;
    70     bool canSuspendForDocumentSuspension() const override final;
    71     void stop() override final;
     69    const char* activeDOMObjectName() const final;
     70    bool canSuspendForDocumentSuspension() const final;
     71    void stop() final;
    7272
    7373    const IDBDatabaseInfo& info() const { return m_info; }
     
    9191    bool isClosingOrClosed() const { return m_closePending || m_closedInServer; }
    9292
    93     bool dispatchEvent(Event&) override final;
     93    bool dispatchEvent(Event&) final;
    9494
    9595private:
     
    100100    void maybeCloseInServer();
    101101
    102     bool hasPendingActivity() const override final;
     102    bool hasPendingActivity() const final;
    103103
    104104    Ref<IDBConnectionToServer> m_serverConnection;
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.h

    r197563 r197566  
    4141    static Ref<IDBFactory> create(IDBConnectionToServer&);
    4242
    43     RefPtr<WebCore::IDBRequest> getDatabaseNames(ScriptExecutionContext*, ExceptionCode&) override final;
     43    RefPtr<WebCore::IDBRequest> getDatabaseNames(ScriptExecutionContext*, ExceptionCode&) final;
    4444
    45     RefPtr<WebCore::IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, ExceptionCode&) override final;
    46     RefPtr<WebCore::IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, unsigned long long version, ExceptionCode&) override final;
    47     RefPtr<WebCore::IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const String& name, ExceptionCode&) override final;
     45    RefPtr<WebCore::IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, ExceptionCode&) final;
     46    RefPtr<WebCore::IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, unsigned long long version, ExceptionCode&) final;
     47    RefPtr<WebCore::IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const String& name, ExceptionCode&) final;
    4848
    49     short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue& first, const Deprecated::ScriptValue& second, ExceptionCodeWithMessage&) override final;
     49    short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue& first, const Deprecated::ScriptValue& second, ExceptionCodeWithMessage&) final;
    5050
    5151private:
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBIndexImpl.h

    r197563 r197566  
    4949
    5050    // Implement the IDL
    51     const String& name() const override final;
    52     RefPtr<WebCore::IDBObjectStore> objectStore() override final;
    53     RefPtr<WebCore::IDBAny> keyPathAny() const override final;
    54     const IDBKeyPath& keyPath() const override final;
    55     bool unique() const override final;
    56     bool multiEntry() const override final;
     51    const String& name() const final;
     52    RefPtr<WebCore::IDBObjectStore> objectStore() final;
     53    RefPtr<WebCore::IDBAny> keyPathAny() const final;
     54    const IDBKeyPath& keyPath() const final;
     55    bool unique() const final;
     56    bool multiEntry() const final;
    5757
    58     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, ExceptionCodeWithMessage& ec) override final { return openCursor(context, static_cast<IDBKeyRange*>(nullptr), ec); }
    59     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCodeWithMessage& ec) override final { return openCursor(context, keyRange, IDBCursor::directionNext(), ec); }
    60     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage& ec) override final { return openCursor(context, key, IDBCursor::directionNext(), ec); }
    61     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) override final;
    62     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) override final;
     58    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, ExceptionCodeWithMessage& ec) final { return openCursor(context, static_cast<IDBKeyRange*>(nullptr), ec); }
     59    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCodeWithMessage& ec) final { return openCursor(context, keyRange, IDBCursor::directionNext(), ec); }
     60    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage& ec) final { return openCursor(context, key, IDBCursor::directionNext(), ec); }
     61    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) final;
     62    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) final;
    6363
    64     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
    65     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    66     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
     64    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
     65    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     66    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
    6767
    68     RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, ExceptionCodeWithMessage& ec) override final { return openKeyCursor(context, static_cast<IDBKeyRange*>(nullptr), ec); }
    69     RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCodeWithMessage& ec) override final { return openKeyCursor(context, keyRange, IDBCursor::directionNext(), ec); }
    70     RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage& ec) override final { return openKeyCursor(context, key, IDBCursor::directionNext(), ec); }
    71     RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) override final;
    72     RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) override final;
     68    RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, ExceptionCodeWithMessage& ec) final { return openKeyCursor(context, static_cast<IDBKeyRange*>(nullptr), ec); }
     69    RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCodeWithMessage& ec) final { return openKeyCursor(context, keyRange, IDBCursor::directionNext(), ec); }
     70    RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage& ec) final { return openKeyCursor(context, key, IDBCursor::directionNext(), ec); }
     71    RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) final;
     72    RefPtr<WebCore::IDBRequest> openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) final;
    7373
    74     RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    75     RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
    76     RefPtr<WebCore::IDBRequest> getKey(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    77     RefPtr<WebCore::IDBRequest> getKey(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
     74    RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     75    RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
     76    RefPtr<WebCore::IDBRequest> getKey(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     77    RefPtr<WebCore::IDBRequest> getKey(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
    7878
    7979    const IDBIndexInfo& info() const { return m_info; }
     
    9595
    9696    // ActiveDOMObject
    97     const char* activeDOMObjectName() const override final;
    98     bool canSuspendForDocumentSuspension() const override final;
    99     bool hasPendingActivity() const override final;
     97    const char* activeDOMObjectName() const final;
     98    bool canSuspendForDocumentSuspension() const final;
     99    bool hasPendingActivity() const final;
    100100
    101101    IDBIndexInfo m_info;
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBObjectStoreImpl.h

    r197563 r197566  
    5050    static Ref<IDBObjectStore> create(ScriptExecutionContext*, const IDBObjectStoreInfo&, IDBTransaction&);
    5151
    52     ~IDBObjectStore() override final;
     52    ~IDBObjectStore() final;
    5353
    5454    // Implement the IDBObjectStore IDL
    55     const String name() const override final;
    56     RefPtr<WebCore::IDBAny> keyPathAny() const override final;
    57     const IDBKeyPath keyPath() const override final;
    58     RefPtr<DOMStringList> indexNames() const override final;
    59     RefPtr<WebCore::IDBTransaction> transaction() override final;
    60     bool autoIncrement() const override final;
     55    const String name() const final;
     56    RefPtr<WebCore::IDBAny> keyPathAny() const final;
     57    const IDBKeyPath keyPath() const final;
     58    RefPtr<DOMStringList> indexNames() const final;
     59    RefPtr<WebCore::IDBTransaction> transaction() final;
     60    bool autoIncrement() const final;
    6161
    62     RefPtr<WebCore::IDBRequest> add(JSC::ExecState&, JSC::JSValue, ExceptionCodeWithMessage&) override final;
    63     RefPtr<WebCore::IDBRequest> put(JSC::ExecState&, JSC::JSValue, ExceptionCodeWithMessage&) override final;
    64     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
    65     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    66     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
    67     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) override final;
    68     RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) override final;
    69     RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
    70     RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    71     RefPtr<WebCore::IDBRequest> add(JSC::ExecState&, JSC::JSValue, JSC::JSValue key, ExceptionCodeWithMessage&) override final;
    72     RefPtr<WebCore::IDBRequest> put(JSC::ExecState&, JSC::JSValue, JSC::JSValue key, ExceptionCodeWithMessage&) override final;
    73     RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    74     RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
    75     RefPtr<WebCore::IDBRequest> clear(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
    76     RefPtr<WebCore::IDBIndex> createIndex(ScriptExecutionContext*, const String& name, const IDBKeyPath&, bool unique, bool multiEntry, ExceptionCodeWithMessage&) override final;
    77     RefPtr<WebCore::IDBIndex> index(const String& name, ExceptionCodeWithMessage&) override final;
    78     void deleteIndex(const String& name, ExceptionCodeWithMessage&) override final;
    79     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, ExceptionCodeWithMessage&) override final;
    80     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) override final;
    81     RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) override final;
     62    RefPtr<WebCore::IDBRequest> add(JSC::ExecState&, JSC::JSValue, ExceptionCodeWithMessage&) final;
     63    RefPtr<WebCore::IDBRequest> put(JSC::ExecState&, JSC::JSValue, ExceptionCodeWithMessage&) final;
     64    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
     65    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     66    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
     67    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, IDBKeyRange*, const String& direction, ExceptionCodeWithMessage&) final;
     68    RefPtr<WebCore::IDBRequest> openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue& key, const String& direction, ExceptionCodeWithMessage&) final;
     69    RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
     70    RefPtr<WebCore::IDBRequest> get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     71    RefPtr<WebCore::IDBRequest> add(JSC::ExecState&, JSC::JSValue, JSC::JSValue key, ExceptionCodeWithMessage&) final;
     72    RefPtr<WebCore::IDBRequest> put(JSC::ExecState&, JSC::JSValue, JSC::JSValue key, ExceptionCodeWithMessage&) final;
     73    RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     74    RefPtr<WebCore::IDBRequest> deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
     75    RefPtr<WebCore::IDBRequest> clear(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
     76    RefPtr<WebCore::IDBIndex> createIndex(ScriptExecutionContext*, const String& name, const IDBKeyPath&, bool unique, bool multiEntry, ExceptionCodeWithMessage&) final;
     77    RefPtr<WebCore::IDBIndex> index(const String& name, ExceptionCodeWithMessage&) final;
     78    void deleteIndex(const String& name, ExceptionCodeWithMessage&) final;
     79    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, ExceptionCodeWithMessage&) final;
     80    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCodeWithMessage&) final;
     81    RefPtr<WebCore::IDBRequest> count(ScriptExecutionContext*, const Deprecated::ScriptValue& key, ExceptionCodeWithMessage&) final;
    8282
    8383    RefPtr<IDBRequest> putForCursorUpdate(JSC::ExecState&, JSC::JSValue, JSC::JSValue key, ExceptionCodeWithMessage&);
     
    112112
    113113    // ActiveDOMObject
    114     const char* activeDOMObjectName() const override final;
    115     bool canSuspendForDocumentSuspension() const override final;
    116     bool hasPendingActivity() const override final;
     114    const char* activeDOMObjectName() const final;
     115    bool canSuspendForDocumentSuspension() const final;
     116    bool hasPendingActivity() const final;
    117117
    118118    IDBObjectStoreInfo m_info;
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBOpenDBRequestImpl.h

    r197563 r197566  
    4646    static Ref<IDBOpenDBRequest> createOpenRequest(IDBConnectionToServer&, ScriptExecutionContext*, const IDBDatabaseIdentifier&, uint64_t version);
    4747
    48     ~IDBOpenDBRequest() override final;
     48    ~IDBOpenDBRequest() final;
    4949   
    5050    const IDBDatabaseIdentifier& databaseIdentifier() const { return m_databaseIdentifier; }
     
    5858    void fireErrorAfterVersionChangeCompletion();
    5959
    60     bool dispatchEvent(Event&) override final;
     60    bool dispatchEvent(Event&) final;
    6161
    6262private:
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.h

    r197563 r197566  
    7575    // EventTarget
    7676    EventTargetInterface eventTargetInterface() const override;
    77     ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
     77    ScriptExecutionContext* scriptExecutionContext() const final { return ActiveDOMObject::scriptExecutionContext(); }
    7878
    7979    using RefCounted<IDBRequest>::ref;
     
    112112
    113113    // ActiveDOMObject.
    114     const char* activeDOMObjectName() const override final;
    115     bool canSuspendForDocumentSuspension() const override final;
    116     bool hasPendingActivity() const override final;
    117     void stop() override final;
     114    const char* activeDOMObjectName() const final;
     115    bool canSuspendForDocumentSuspension() const final;
     116    bool hasPendingActivity() const final;
     117    void stop() final;
    118118
    119119    // EventTarget.
    120     void refEventTarget() override final { RefCounted<IDBRequest>::ref(); }
    121     void derefEventTarget() override final { RefCounted<IDBRequest>::deref(); }
    122     void uncaughtExceptionInEventHandler() override final;
     120    void refEventTarget() final { RefCounted<IDBRequest>::ref(); }
     121    void derefEventTarget() final { RefCounted<IDBRequest>::deref(); }
     122    void uncaughtExceptionInEventHandler() final;
    123123
    124124    virtual bool isOpenDBRequest() const { return false; }
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBTransactionImpl.h

    r197563 r197566  
    6363    static Ref<IDBTransaction> create(IDBDatabase&, const IDBTransactionInfo&, IDBOpenDBRequest&);
    6464
    65     ~IDBTransaction() override final;
     65    ~IDBTransaction() final;
    6666
    6767    // IDBTransaction IDL
    68     const String& mode() const override final;
    69     WebCore::IDBDatabase* db() override final;
    70     RefPtr<DOMError> error() const override final;
    71     RefPtr<WebCore::IDBObjectStore> objectStore(const String& name, ExceptionCodeWithMessage&) override final;
    72     void abort(ExceptionCodeWithMessage&) override final;
    73 
    74     EventTargetInterface eventTargetInterface() const override final { return IDBTransactionEventTargetInterfaceType; }
    75     ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
    76     void refEventTarget() override final { ref(); }
    77     void derefEventTarget() override final { deref(); }
     68    const String& mode() const final;
     69    WebCore::IDBDatabase* db() final;
     70    RefPtr<DOMError> error() const final;
     71    RefPtr<WebCore::IDBObjectStore> objectStore(const String& name, ExceptionCodeWithMessage&) final;
     72    void abort(ExceptionCodeWithMessage&) final;
     73
     74    EventTargetInterface eventTargetInterface() const final { return IDBTransactionEventTargetInterfaceType; }
     75    ScriptExecutionContext* scriptExecutionContext() const final { return ActiveDOMObject::scriptExecutionContext(); }
     76    void refEventTarget() final { ref(); }
     77    void derefEventTarget() final { deref(); }
    7878    using EventTarget::dispatchEvent;
    79     bool dispatchEvent(Event&) override final;
    80 
    81     const char* activeDOMObjectName() const override final;
    82     bool canSuspendForDocumentSuspension() const override final;
    83     bool hasPendingActivity() const override final;
    84     void stop() override final;
     79    bool dispatchEvent(Event&) final;
     80
     81    const char* activeDOMObjectName() const final;
     82    bool canSuspendForDocumentSuspension() const final;
     83    bool hasPendingActivity() const final;
     84    void stop() final;
    8585
    8686    const IDBTransactionInfo& info() const { return m_info; }
  • trunk/Source/WebCore/Modules/indexeddb/client/IDBVersionChangeEventImpl.h

    r197563 r197566  
    4949    const IDBResourceIdentifier& requestIdentifier() const { return m_requestIdentifier; }
    5050
    51     bool isVersionChangeEvent() const override final { return true; }
     51    bool isVersionChangeEvent() const final { return true; }
    5252
    5353private:
  • trunk/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h

    r197563 r197566  
    4545    static std::unique_ptr<MemoryIDBBackingStore> create(const IDBDatabaseIdentifier&);
    4646   
    47     ~MemoryIDBBackingStore() override final;
     47    ~MemoryIDBBackingStore() final;
    4848
    49     IDBError getOrEstablishDatabaseInfo(IDBDatabaseInfo&) override final;
     49    IDBError getOrEstablishDatabaseInfo(IDBDatabaseInfo&) final;
    5050    void setDatabaseInfo(const IDBDatabaseInfo&);
    5151
    52     IDBError beginTransaction(const IDBTransactionInfo&) override final;
    53     IDBError abortTransaction(const IDBResourceIdentifier& transactionIdentifier) override final;
    54     IDBError commitTransaction(const IDBResourceIdentifier& transactionIdentifier) override final;
    55     IDBError createObjectStore(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&) override final;
    56     IDBError deleteObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) override final;
    57     IDBError clearObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) override final;
    58     IDBError createIndex(const IDBResourceIdentifier& transactionIdentifier, const IDBIndexInfo&) override final;
    59     IDBError deleteIndex(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier) override final;
    60     IDBError keyExistsInObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyData&, bool& keyExists) override final;
    61     IDBError deleteRange(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&) override final;
    62     IDBError addRecord(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&, const IDBKeyData&, const ThreadSafeDataBuffer& value) override final;
    63     IDBError getRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&, ThreadSafeDataBuffer& outValue) override final;
    64     IDBError getIndexRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, IndexedDB::IndexRecordType, const IDBKeyRangeData&, IDBGetResult& outValue) override final;
    65     IDBError getCount(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, const IDBKeyRangeData&, uint64_t& outCount) override final;
    66     IDBError generateKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t& keyNumber) override final;
    67     IDBError revertGeneratedKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t keyNumber) override final;
    68     IDBError maybeUpdateKeyGeneratorNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, double newKeyNumber) override final;
    69     IDBError openCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBCursorInfo&, IDBGetResult& outResult) override final;
    70     IDBError iterateCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBResourceIdentifier& cursorIdentifier, const IDBKeyData&, uint32_t count, IDBGetResult& outResult) override final;
     52    IDBError beginTransaction(const IDBTransactionInfo&) final;
     53    IDBError abortTransaction(const IDBResourceIdentifier& transactionIdentifier) final;
     54    IDBError commitTransaction(const IDBResourceIdentifier& transactionIdentifier) final;
     55    IDBError createObjectStore(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&) final;
     56    IDBError deleteObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) final;
     57    IDBError clearObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) final;
     58    IDBError createIndex(const IDBResourceIdentifier& transactionIdentifier, const IDBIndexInfo&) final;
     59    IDBError deleteIndex(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier) final;
     60    IDBError keyExistsInObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyData&, bool& keyExists) final;
     61    IDBError deleteRange(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&) final;
     62    IDBError addRecord(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&, const IDBKeyData&, const ThreadSafeDataBuffer& value) final;
     63    IDBError getRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&, ThreadSafeDataBuffer& outValue) final;
     64    IDBError getIndexRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, IndexedDB::IndexRecordType, const IDBKeyRangeData&, IDBGetResult& outValue) final;
     65    IDBError getCount(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, const IDBKeyRangeData&, uint64_t& outCount) final;
     66    IDBError generateKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t& keyNumber) final;
     67    IDBError revertGeneratedKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t keyNumber) final;
     68    IDBError maybeUpdateKeyGeneratorNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, double newKeyNumber) final;
     69    IDBError openCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBCursorInfo&, IDBGetResult& outResult) final;
     70    IDBError iterateCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBResourceIdentifier& cursorIdentifier, const IDBKeyData&, uint32_t count, IDBGetResult& outResult) final;
    7171
    72     IDBObjectStoreInfo* infoForObjectStore(uint64_t objectStoreIdentifier) override final;
    73     void deleteBackingStore() override final;
     72    IDBObjectStoreInfo* infoForObjectStore(uint64_t objectStoreIdentifier) final;
     73    void deleteBackingStore() final;
    7474
    75     bool supportsSimultaneousTransactions() override final { return true; }
    76     bool isEphemeral() override final { return true; }
     75    bool supportsSimultaneousTransactions() final { return true; }
     76    bool isEphemeral() final { return true; }
    7777
    7878    void removeObjectStoreForVersionChangeAbort(MemoryObjectStore&);
  • trunk/Source/WebCore/Modules/indexeddb/server/MemoryIndexCursor.h

    r197563 r197566  
    4747
    4848private:
    49     void currentData(IDBGetResult&) override final;
    50     void iterate(const IDBKeyData&, uint32_t count, IDBGetResult&) override final;
     49    void currentData(IDBGetResult&) final;
     50    void iterate(const IDBKeyData&, uint32_t count, IDBGetResult&) final;
    5151
    5252    MemoryIndex& m_index;
  • trunk/Source/WebCore/Modules/indexeddb/server/MemoryObjectStoreCursor.h

    r197563 r197566  
    4949
    5050private:
    51     void currentData(IDBGetResult&) override final;
    52     void iterate(const IDBKeyData&, uint32_t count, IDBGetResult&) override final;
     51    void currentData(IDBGetResult&) final;
     52    void iterate(const IDBKeyData&, uint32_t count, IDBGetResult&) final;
    5353
    5454    void setFirstInRemainingRange(std::set<IDBKeyData>&);
  • trunk/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.h

    r197563 r197566  
    5050    SQLiteIDBBackingStore(const IDBDatabaseIdentifier&, const String& databaseRootDirectory);
    5151   
    52     ~SQLiteIDBBackingStore() override final;
     52    ~SQLiteIDBBackingStore() final;
    5353
    54     IDBError getOrEstablishDatabaseInfo(IDBDatabaseInfo&) override final;
     54    IDBError getOrEstablishDatabaseInfo(IDBDatabaseInfo&) final;
    5555
    56     IDBError beginTransaction(const IDBTransactionInfo&) override final;
    57     IDBError abortTransaction(const IDBResourceIdentifier& transactionIdentifier) override final;
    58     IDBError commitTransaction(const IDBResourceIdentifier& transactionIdentifier) override final;
    59     IDBError createObjectStore(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&) override final;
    60     IDBError deleteObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) override final;
    61     IDBError clearObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) override final;
    62     IDBError createIndex(const IDBResourceIdentifier& transactionIdentifier, const IDBIndexInfo&) override final;
    63     IDBError deleteIndex(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier) override final;
    64     IDBError keyExistsInObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyData&, bool& keyExists) override final;
    65     IDBError deleteRange(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&) override final;
    66     IDBError addRecord(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&, const IDBKeyData&, const ThreadSafeDataBuffer& value) override final;
    67     IDBError getRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&, ThreadSafeDataBuffer& outValue) override final;
    68     IDBError getIndexRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, IndexedDB::IndexRecordType, const IDBKeyRangeData&, IDBGetResult& outValue) override final;
    69     IDBError getCount(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, const IDBKeyRangeData&, uint64_t& outCount) override final;
    70     IDBError generateKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t& keyNumber) override final;
    71     IDBError revertGeneratedKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t keyNumber) override final;
    72     IDBError maybeUpdateKeyGeneratorNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, double newKeyNumber) override final;
    73     IDBError openCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBCursorInfo&, IDBGetResult& outResult) override final;
    74     IDBError iterateCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBResourceIdentifier& cursorIdentifier, const IDBKeyData&, uint32_t count, IDBGetResult& outResult) override final;
     56    IDBError beginTransaction(const IDBTransactionInfo&) final;
     57    IDBError abortTransaction(const IDBResourceIdentifier& transactionIdentifier) final;
     58    IDBError commitTransaction(const IDBResourceIdentifier& transactionIdentifier) final;
     59    IDBError createObjectStore(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&) final;
     60    IDBError deleteObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) final;
     61    IDBError clearObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier) final;
     62    IDBError createIndex(const IDBResourceIdentifier& transactionIdentifier, const IDBIndexInfo&) final;
     63    IDBError deleteIndex(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier) final;
     64    IDBError keyExistsInObjectStore(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyData&, bool& keyExists) final;
     65    IDBError deleteRange(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&) final;
     66    IDBError addRecord(const IDBResourceIdentifier& transactionIdentifier, const IDBObjectStoreInfo&, const IDBKeyData&, const ThreadSafeDataBuffer& value) final;
     67    IDBError getRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, const IDBKeyRangeData&, ThreadSafeDataBuffer& outValue) final;
     68    IDBError getIndexRecord(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, IndexedDB::IndexRecordType, const IDBKeyRangeData&, IDBGetResult& outValue) final;
     69    IDBError getCount(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t indexIdentifier, const IDBKeyRangeData&, uint64_t& outCount) final;
     70    IDBError generateKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t& keyNumber) final;
     71    IDBError revertGeneratedKeyNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, uint64_t keyNumber) final;
     72    IDBError maybeUpdateKeyGeneratorNumber(const IDBResourceIdentifier& transactionIdentifier, uint64_t objectStoreIdentifier, double newKeyNumber) final;
     73    IDBError openCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBCursorInfo&, IDBGetResult& outResult) final;
     74    IDBError iterateCursor(const IDBResourceIdentifier& transactionIdentifier, const IDBResourceIdentifier& cursorIdentifier, const IDBKeyData&, uint32_t count, IDBGetResult& outResult) final;
    7575
    76     IDBObjectStoreInfo* infoForObjectStore(uint64_t objectStoreIdentifier) override final;
    77     void deleteBackingStore() override final;
     76    IDBObjectStoreInfo* infoForObjectStore(uint64_t objectStoreIdentifier) final;
     77    void deleteBackingStore() final;
    7878
    79     bool supportsSimultaneousTransactions() override final { return false; }
    80     bool isEphemeral() override final { return false; }
     79    bool supportsSimultaneousTransactions() final { return false; }
     80    bool isEphemeral() final { return false; }
    8181
    8282    void unregisterCursor(SQLiteIDBCursor&);
  • trunk/Source/WebCore/Modules/indexeddb/shared/InProcessIDBServer.h

    r197563 r197566  
    5656
    5757    // IDBConnectionToServer
    58     void deleteDatabase(IDBRequestData&) override final;
    59     void openDatabase(IDBRequestData&) override final;
    60     void abortTransaction(IDBResourceIdentifier&) override final;
    61     void commitTransaction(IDBResourceIdentifier&) override final;
    62     void didFinishHandlingVersionChangeTransaction(IDBResourceIdentifier&) override final;
    63     void createObjectStore(const IDBRequestData&, const IDBObjectStoreInfo&) override final;
    64     void deleteObjectStore(const IDBRequestData&, const String& objectStoreName) override final;
    65     void clearObjectStore(const IDBRequestData&, uint64_t objectStoreIdentifier) override final;
    66     void createIndex(const IDBRequestData&, const IDBIndexInfo&) override final;
    67     void deleteIndex(const IDBRequestData&, uint64_t objectStoreIdentifier, const String& indexName) override final;
    68     void putOrAdd(const IDBRequestData&, IDBKey*, SerializedScriptValue&, const IndexedDB::ObjectStoreOverwriteMode) override final;
    69     void getRecord(const IDBRequestData&, const IDBKeyRangeData&) override final;
    70     void getCount(const IDBRequestData&, const IDBKeyRangeData&) override final;
    71     void deleteRecord(const IDBRequestData&, const IDBKeyRangeData&) override final;
    72     void openCursor(const IDBRequestData&, const IDBCursorInfo&) override final;
    73     void iterateCursor(const IDBRequestData&, const IDBKeyData&, unsigned long count) override final;
    74     void establishTransaction(uint64_t databaseConnectionIdentifier, const IDBTransactionInfo&) override final;
    75     void databaseConnectionClosed(uint64_t databaseConnectionIdentifier) override final;
    76     void abortOpenAndUpgradeNeeded(uint64_t databaseConnectionIdentifier, const IDBResourceIdentifier& transactionIdentifier) override final;
    77     void didFireVersionChangeEvent(uint64_t databaseConnectionIdentifier, const IDBResourceIdentifier& requestIdentifier) override final;
     58    void deleteDatabase(IDBRequestData&) final;
     59    void openDatabase(IDBRequestData&) final;
     60    void abortTransaction(IDBResourceIdentifier&) final;
     61    void commitTransaction(IDBResourceIdentifier&) final;
     62    void didFinishHandlingVersionChangeTransaction(IDBResourceIdentifier&) final;
     63    void createObjectStore(const IDBRequestData&, const IDBObjectStoreInfo&) final;
     64    void deleteObjectStore(const IDBRequestData&, const String& objectStoreName) final;
     65    void clearObjectStore(const IDBRequestData&, uint64_t objectStoreIdentifier) final;
     66    void createIndex(const IDBRequestData&, const IDBIndexInfo&) final;
     67    void deleteIndex(const IDBRequestData&, uint64_t objectStoreIdentifier, const String& indexName) final;
     68    void putOrAdd(const IDBRequestData&, IDBKey*, SerializedScriptValue&, const IndexedDB::ObjectStoreOverwriteMode) final;
     69    void getRecord(const IDBRequestData&, const IDBKeyRangeData&) final;
     70    void getCount(const IDBRequestData&, const IDBKeyRangeData&) final;
     71    void deleteRecord(const IDBRequestData&, const IDBKeyRangeData&) final;
     72    void openCursor(const IDBRequestData&, const IDBCursorInfo&) final;
     73    void iterateCursor(const IDBRequestData&, const IDBKeyData&, unsigned long count) final;
     74    void establishTransaction(uint64_t databaseConnectionIdentifier, const IDBTransactionInfo&) final;
     75    void databaseConnectionClosed(uint64_t databaseConnectionIdentifier) final;
     76    void abortOpenAndUpgradeNeeded(uint64_t databaseConnectionIdentifier, const IDBResourceIdentifier& transactionIdentifier) final;
     77    void didFireVersionChangeEvent(uint64_t databaseConnectionIdentifier, const IDBResourceIdentifier& requestIdentifier) final;
    7878
    7979    // IDBConnectionToClient
    8080    uint64_t identifier() const override;
    81     void didDeleteDatabase(const IDBResultData&) override final;
    82     void didOpenDatabase(const IDBResultData&) override final;
    83     void didAbortTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) override final;
    84     void didCommitTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) override final;
    85     void didCreateObjectStore(const IDBResultData&) override final;
    86     void didDeleteObjectStore(const IDBResultData&) override final;
    87     void didClearObjectStore(const IDBResultData&) override final;
    88     void didCreateIndex(const IDBResultData&) override final;
    89     void didDeleteIndex(const IDBResultData&) override final;
    90     void didPutOrAdd(const IDBResultData&) override final;
    91     void didGetRecord(const IDBResultData&) override final;
    92     void didGetCount(const IDBResultData&) override final;
    93     void didDeleteRecord(const IDBResultData&) override final;
    94     void didOpenCursor(const IDBResultData&) override final;
    95     void didIterateCursor(const IDBResultData&) override final;
    96     void fireVersionChangeEvent(IDBServer::UniqueIDBDatabaseConnection&, const IDBResourceIdentifier& requestIdentifier, uint64_t requestedVersion) override final;
    97     void didStartTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) override final;
    98     void notifyOpenDBRequestBlocked(const IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion) override final;
     81    void didDeleteDatabase(const IDBResultData&) final;
     82    void didOpenDatabase(const IDBResultData&) final;
     83    void didAbortTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) final;
     84    void didCommitTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) final;
     85    void didCreateObjectStore(const IDBResultData&) final;
     86    void didDeleteObjectStore(const IDBResultData&) final;
     87    void didClearObjectStore(const IDBResultData&) final;
     88    void didCreateIndex(const IDBResultData&) final;
     89    void didDeleteIndex(const IDBResultData&) final;
     90    void didPutOrAdd(const IDBResultData&) final;
     91    void didGetRecord(const IDBResultData&) final;
     92    void didGetCount(const IDBResultData&) final;
     93    void didDeleteRecord(const IDBResultData&) final;
     94    void didOpenCursor(const IDBResultData&) final;
     95    void didIterateCursor(const IDBResultData&) final;
     96    void fireVersionChangeEvent(IDBServer::UniqueIDBDatabaseConnection&, const IDBResourceIdentifier& requestIdentifier, uint64_t requestedVersion) final;
     97    void didStartTransaction(const IDBResourceIdentifier& transactionIdentifier, const IDBError&) final;
     98    void notifyOpenDBRequestBlocked(const IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion) final;
    9999
    100100    void ref() override { RefCounted<InProcessIDBServer>::ref(); }
  • trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.h

    r197563 r197566  
    6969    MediaSession* m_session { nullptr };
    7070
    71     void refEventTarget() override final { ref(); }
    72     void derefEventTarget() override final { deref(); }
     71    void refEventTarget() final { ref(); }
     72    void derefEventTarget() final { deref(); }
    7373};
    7474
  • trunk/Source/WebCore/Modules/mediasource/MediaSource.h

    r197563 r197566  
    101101
    102102    // EventTarget interface
    103     ScriptExecutionContext* scriptExecutionContext() const override final;
    104     void refEventTarget() override final { ref(); }
    105     void derefEventTarget() override final { deref(); }
     103    ScriptExecutionContext* scriptExecutionContext() const final;
     104    void refEventTarget() final { ref(); }
     105    void derefEventTarget() final { deref(); }
    106106    EventTargetInterface eventTargetInterface() const override;
    107107
  • trunk/Source/WebCore/Modules/mediastream/MediaDevicesRequest.h

    r197114 r197566  
    6565
    6666    // ContextDestructionObserver
    67     void contextDestroyed() override final;
     67    void contextDestroyed() final;
    6868
    6969    // UserMediaPermissionCheckClient
    70     void didCompletePermissionCheck(const String&, bool) override final;
     70    void didCompletePermissionCheck(const String&, bool) final;
    7171
    7272    String hashID(const String&);
  • trunk/Source/WebCore/Modules/mediastream/MediaStream.h

    r197563 r197566  
    7676
    7777    // EventTarget
    78     virtual EventTargetInterface eventTargetInterface() const final { return MediaStreamEventTargetInterfaceType; }
    79     virtual ScriptExecutionContext* scriptExecutionContext() const final { return ContextDestructionObserver::scriptExecutionContext(); }
     78    EventTargetInterface eventTargetInterface() const final { return MediaStreamEventTargetInterfaceType; }
     79    ScriptExecutionContext* scriptExecutionContext() const final { return ContextDestructionObserver::scriptExecutionContext(); }
    8080
    8181    using RefCounted<MediaStream>::ref;
     
    9393
    9494    // ContextDestructionObserver
    95     void contextDestroyed() override final;
     95    void contextDestroyed() final;
    9696
    9797private:
     
    9999
    100100    // EventTarget
    101     void refEventTarget() override final { ref(); }
    102     void derefEventTarget() override final { deref(); }
     101    void refEventTarget() final { ref(); }
     102    void derefEventTarget() final { deref(); }
    103103
    104104    // MediaStreamTrack::Observer
    105     void trackDidEnd() override final;
     105    void trackDidEnd() final;
    106106
    107107    // MediaStreamPrivate::Observer
    108     void activeStatusChanged() override final;
    109     void didAddTrack(MediaStreamTrackPrivate&) override final;
    110     void didRemoveTrack(MediaStreamTrackPrivate&) override final;
     108    void activeStatusChanged() final;
     109    void didAddTrack(MediaStreamTrackPrivate&) final;
     110    void didRemoveTrack(MediaStreamTrackPrivate&) final;
    111111
    112112    bool internalAddTrack(RefPtr<MediaStreamTrack>&&, StreamModifier);
  • trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h

    r197563 r197566  
    9393
    9494    // EventTarget
    95     EventTargetInterface eventTargetInterface() const override final { return MediaStreamTrackEventTargetInterfaceType; }
    96     ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
     95    EventTargetInterface eventTargetInterface() const final { return MediaStreamTrackEventTargetInterfaceType; }
     96    ScriptExecutionContext* scriptExecutionContext() const final { return ActiveDOMObject::scriptExecutionContext(); }
    9797
    9898    using RefCounted<MediaStreamTrack>::ref;
     
    106106
    107107    // ActiveDOMObject API.
    108     void stop() override final;
    109     const char* activeDOMObjectName() const override final;
    110     bool canSuspendForDocumentSuspension() const override final;
     108    void stop() final;
     109    const char* activeDOMObjectName() const final;
     110    bool canSuspendForDocumentSuspension() const final;
    111111
    112112    // EventTarget
    113     void refEventTarget() override final { ref(); }
    114     void derefEventTarget() override final { deref(); }
     113    void refEventTarget() final { ref(); }
     114    void derefEventTarget() final { deref(); }
    115115
    116116    // MediaStreamTrackPrivate::Observer
  • trunk/Source/WebCore/Modules/mediastream/UserMediaPermissionCheck.h

    r197563 r197566  
    6767
    6868    // ContextDestructionObserver
    69     void contextDestroyed() override final;
     69    void contextDestroyed() final;
    7070
    7171    UserMediaPermissionCheckClient* m_client;
  • trunk/Source/WebCore/Modules/mediastream/UserMediaRequest.h

    r197563 r197566  
    7878
    7979    // MediaStreamCreationClient
    80     void constraintsValidated(const Vector<RefPtr<RealtimeMediaSource>>& audioTracks, const Vector<RefPtr<RealtimeMediaSource>>& videoTracks) override final;
    81     void constraintsInvalid(const String& constraintName) override final;
    82     void didCreateStream(PassRefPtr<MediaStreamPrivate>) override final;
    83     void failedToCreateStreamWithConstraintsError(const String& constraintName) override final;
    84     void failedToCreateStreamWithPermissionError() override final;
     80    void constraintsValidated(const Vector<RefPtr<RealtimeMediaSource>>& audioTracks, const Vector<RefPtr<RealtimeMediaSource>>& videoTracks) final;
     81    void constraintsInvalid(const String& constraintName) final;
     82    void didCreateStream(PassRefPtr<MediaStreamPrivate>) final;
     83    void failedToCreateStreamWithConstraintsError(const String& constraintName) final;
     84    void failedToCreateStreamWithPermissionError() final;
    8585
    8686    // ContextDestructionObserver
    87     void contextDestroyed() override final;
     87    void contextDestroyed() final;
    8888   
    8989    RefPtr<MediaConstraints> m_audioConstraints;
  • trunk/Source/WebCore/Modules/webaudio/AudioContext.h

    r197563 r197566  
    241241
    242242    // EventTarget
    243     EventTargetInterface eventTargetInterface() const override final { return AudioContextEventTargetInterfaceType; }
    244     ScriptExecutionContext* scriptExecutionContext() const override final;
     243    EventTargetInterface eventTargetInterface() const final { return AudioContextEventTargetInterfaceType; }
     244    ScriptExecutionContext* scriptExecutionContext() const final;
    245245
    246246    // Reconcile ref/deref which are defined both in ThreadSafeRefCounted and EventTarget.
  • trunk/Source/WebCore/Modules/webaudio/AudioNode.h

    r197563 r197566  
    181181    // EventTarget
    182182    EventTargetInterface eventTargetInterface() const override;
    183     ScriptExecutionContext* scriptExecutionContext() const override final;
     183    ScriptExecutionContext* scriptExecutionContext() const final;
    184184
    185185protected:
  • trunk/Source/WebCore/accessibility/AccessibilityMockObject.h

    r197563 r197566  
    4949
    5050private:
    51     bool isMockObject() const override final { return true; }
     51    bool isMockObject() const final { return true; }
    5252    bool isDetachedFromParent() override { return !m_parent; }
    5353
  • trunk/Source/WebCore/accessibility/AccessibilityNodeObject.h

    r197563 r197566  
    130130    void colorValue(int& r, int& g, int& b) const override;
    131131    String ariaLabeledByAttribute() const override;
    132     bool hasAttributesRequiredForInclusion() const override final;
     132    bool hasAttributesRequiredForInclusion() const final;
    133133    void setIsExpanded(bool) override;
    134134
     
    194194
    195195private:
    196     bool isAccessibilityNodeObject() const override final { return true; }
     196    bool isAccessibilityNodeObject() const final { return true; }
    197197    void accessibilityText(Vector<AccessibilityText>&) override;
    198198    virtual void titleElementText(Vector<AccessibilityText>&) const;
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.h

    r197563 r197566  
    226226
    227227private:
    228     bool isAccessibilityRenderObject() const override final { return true; }
     228    bool isAccessibilityRenderObject() const final { return true; }
    229229    void ariaListboxSelectedChildren(AccessibilityChildrenVector&);
    230230    void ariaListboxVisibleChildren(AccessibilityChildrenVector&);
  • trunk/Source/WebCore/accessibility/AccessibilitySlider.h

    r197563 r197566  
    5050
    5151    AccessibilityRole roleValue() const override { return SliderRole; }
    52     bool isSlider() const override final { return true; }
     52    bool isSlider() const final { return true; }
    5353    bool isInputSlider() const override { return true; }
    5454    bool isControl() const override { return true; }
  • trunk/Source/WebCore/accessibility/AccessibilityTable.h

    r197563 r197566  
    4444    virtual ~AccessibilityTable();
    4545
    46     void init() override final;
     46    void init() final;
    4747
    48     AccessibilityRole roleValue() const override final;
     48    AccessibilityRole roleValue() const final;
    4949    virtual bool isAriaTable() const { return false; }
    5050   
    5151    void addChildren() override;
    52     void clearChildren() override final;
     52    void clearChildren() final;
    5353   
    5454    const AccessibilityChildrenVector& columns();
     
    5858    unsigned columnCount();
    5959    unsigned rowCount();
    60     int tableLevel() const override final;
     60    int tableLevel() const final;
    6161   
    62     String title() const override final;
     62    String title() const final;
    6363   
    6464    // all the cells in the table
     
    9191
    9292    // isTable is whether it's an AccessibilityTable object.
    93     bool isTable() const override final { return true; }
     93    bool isTable() const final { return true; }
    9494    // isDataTable is whether it is exposed as an AccessibilityTable because the heuristic
    9595    // think this "looks" like a data-based table (instead of a table used for layout).
    96     bool isDataTable() const override final;
    97     bool computeAccessibilityIsIgnored() const override final;
     96    bool isDataTable() const final;
     97    bool computeAccessibilityIsIgnored() const final;
    9898
    9999private:
    100100    virtual bool computeIsTableExposableThroughAccessibility() const;
    101     void titleElementText(Vector<AccessibilityText>&) const override final;
     101    void titleElementText(Vector<AccessibilityText>&) const final;
    102102    HTMLTableElement* tableElement() const;
    103103    void addChildrenFromSection(RenderTableSection*, unsigned& maxColumnCount);
  • trunk/Source/WebCore/accessibility/AccessibilityTableCell.h

    r197563 r197566  
    4242    virtual ~AccessibilityTableCell();
    4343   
    44     bool isTableCell() const override final;
     44    bool isTableCell() const final;
    4545    bool isTableHeaderCell() const;
    4646    bool isColumnHeaderCell() const;
     
    6666    AccessibilityTableRow* parentRow() const;
    6767    virtual AccessibilityTable* parentTable() const;
    68     AccessibilityRole determineAccessibilityRole() override final;
     68    AccessibilityRole determineAccessibilityRole() final;
    6969
    7070    int m_rowIndex;
     
    7373private:
    7474    // If a table cell is not exposed as a table cell, a TH element can serve as its title UI element.
    75     AccessibilityObject* titleUIElement() const override final;
    76     bool exposesTitleUIElement() const override final { return true; }
    77     bool computeAccessibilityIsIgnored() const override final;
    78     String expandedTextValue() const override final;
    79     bool supportsExpandedTextValue() const override final;
     75    AccessibilityObject* titleUIElement() const final;
     76    bool exposesTitleUIElement() const final { return true; }
     77    bool computeAccessibilityIsIgnored() const final;
     78    String expandedTextValue() const final;
     79    bool supportsExpandedTextValue() const final;
    8080
    8181    bool isTableCellInSameRowGroup(AccessibilityTableCell*);
  • trunk/Source/WebCore/accessibility/AccessibilityTableRow.h

    r197563 r197566  
    6060    explicit AccessibilityTableRow(RenderObject*);
    6161
    62     AccessibilityRole determineAccessibilityRole() override final;
     62    AccessibilityRole determineAccessibilityRole() final;
    6363
    6464private:
    65     bool isTableRow() const override final;
    66     AccessibilityObject* observableObject() const override final;
    67     bool computeAccessibilityIsIgnored() const override final;
     65    bool isTableRow() const final;
     66    AccessibilityObject* observableObject() const final;
     67    bool computeAccessibilityIsIgnored() const final;
    6868
    6969    int m_rowIndex;
  • trunk/Source/WebCore/css/PropertySetCSSStyleDeclaration.h

    r197563 r197566  
    5353private:
    5454    CSSRule* parentRule() const override { return nullptr; }
    55     unsigned length() const override final;
    56     String item(unsigned index) const override final;
    57     RefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) override final;
    58     String getPropertyValue(const String& propertyName) override final;
    59     String getPropertyPriority(const String& propertyName) override final;
    60     String getPropertyShorthand(const String& propertyName) override final;
    61     bool isPropertyImplicit(const String& propertyName) override final;
    62     void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode&) override final;
    63     String removeProperty(const String& propertyName, ExceptionCode&) override final;
    64     String cssText() const override final;
    65     void setCssText(const String&, ExceptionCode&) override final;
    66     RefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override final;
    67     String getPropertyValueInternal(CSSPropertyID) override final;
    68     bool setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionCode&) override final;
     55    unsigned length() const final;
     56    String item(unsigned index) const final;
     57    RefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) final;
     58    String getPropertyValue(const String& propertyName) final;
     59    String getPropertyPriority(const String& propertyName) final;
     60    String getPropertyShorthand(const String& propertyName) final;
     61    bool isPropertyImplicit(const String& propertyName) final;
     62    void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode&) final;
     63    String removeProperty(const String& propertyName, ExceptionCode&) final;
     64    String cssText() const final;
     65    void setCssText(const String&, ExceptionCode&) final;
     66    RefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final;
     67    String getPropertyValueInternal(CSSPropertyID) final;
     68    bool setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionCode&) final;
    6969   
    70     Ref<MutableStyleProperties> copyProperties() const override final;
     70    Ref<MutableStyleProperties> copyProperties() const final;
    7171
    7272    CSSValue* cloneAndCacheForCSSOM(CSSValue*);
  • trunk/Source/WebCore/dom/CharacterData.h

    r197563 r197566  
    6464
    6565private:
    66     String nodeValue() const override final;
    67     void setNodeValue(const String&, ExceptionCode&) override final;
    68     bool isCharacterDataNode() const override final { return true; }
    69     int maxCharacterOffset() const override final;
    70     bool offsetInCharacters() const override final;
     66    String nodeValue() const final;
     67    void setNodeValue(const String&, ExceptionCode&) final;
     68    bool isCharacterDataNode() const final { return true; }
     69    int maxCharacterOffset() const final;
     70    bool offsetInCharacters() const final;
    7171    void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);
    7272    void checkCharDataOperation(unsigned offset, ExceptionCode&);
  • trunk/Source/WebCore/dom/Document.h

    r197563 r197566  
    342342    using ContainerNode::deref;
    343343
    344     bool canContainRangeEndPoint() const override final { return true; }
     344    bool canContainRangeEndPoint() const final { return true; }
    345345
    346346    Element* getElementByAccessKey(const String& key);
     
    596596
    597597    // Override ScriptExecutionContext methods to do additional work
    598     bool shouldBypassMainWorldContentSecurityPolicy() const override final;
    599     void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) override final;
    600     void resumeActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) override final;
    601     void stopActiveDOMObjects() override final;
     598    bool shouldBypassMainWorldContentSecurityPolicy() const final;
     599    void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) final;
     600    void resumeActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) final;
     601    void stopActiveDOMObjects() final;
    602602
    603603    void suspendDeviceMotionAndOrientationUpdates();
     
    641641    bool wellFormed() const { return m_wellFormed; }
    642642
    643     const URL& url() const override final { return m_url; }
     643    const URL& url() const final { return m_url; }
    644644    void setURL(const URL&);
    645645    const URL& urlForBindings() const { return m_url.isEmpty() ? blankURL() : m_url; }
     
    654654    void processBaseElement();
    655655
    656     WEBCORE_EXPORT URL completeURL(const String&) const override final;
     656    WEBCORE_EXPORT URL completeURL(const String&) const final;
    657657    URL completeURL(const String&, const URL& baseURLOverride) const;
    658658
    659     String userAgent(const URL&) const override final;
    660 
    661     void disableEval(const String& errorMessage) override final;
     659    String userAgent(const URL&) const final;
     660
     661    void disableEval(const String& errorMessage) final;
    662662
    663663    bool canNavigate(Frame* targetFrame);
     
    979979    void parseDNSPrefetchControlHeader(const String&);
    980980
    981     void postTask(Task) override final; // Executes the task on context's thread asynchronously.
     981    void postTask(Task) final; // Executes the task on context's thread asynchronously.
    982982
    983983#if ENABLE(REQUEST_ANIMATION_FRAME)
     
    10681068#endif
    10691069
    1070     void removeAllEventListeners() override final;
     1070    void removeAllEventListeners() final;
    10711071
    10721072    WEBCORE_EXPORT const SVGDocumentExtensions* svgExtensions();
     
    10821082    bool loadEventFinished() const { return m_loadEventFinished; }
    10831083
    1084     bool isContextThread() const override final;
    1085     bool isJSExecutionForbidden() const override final { return false; }
     1084    bool isContextThread() const final;
     1085    bool isJSExecutionForbidden() const final { return false; }
    10861086
    10871087    void enqueueWindowEvent(Ref<Event>&&);
     
    10911091    void enqueueHashchangeEvent(const String& oldURL, const String& newURL);
    10921092    void enqueuePopstateEvent(RefPtr<SerializedScriptValue>&& stateObject);
    1093     DocumentEventQueue& eventQueue() const override final { return m_eventQueue; }
     1093    DocumentEventQueue& eventQueue() const final { return m_eventQueue; }
    10941094
    10951095    WEBCORE_EXPORT void addMediaCanStartListener(MediaCanStartListener*);
     
    11651165    void sendWillRevealEdgeEventsIfNeeded(const IntPoint& oldPosition, const IntPoint& newPosition, const IntRect& visibleRect, const IntSize& contentsSize, Element* target = nullptr);
    11661166
    1167     EventTarget* errorEventTarget() override final;
    1168     void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, RefPtr<Inspector::ScriptCallStack>&&) override final;
     1167    EventTarget* errorEventTarget() final;
     1168    void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, RefPtr<Inspector::ScriptCallStack>&&) final;
    11691169
    11701170    void initDNSPrefetch();
     
    12131213    RegionFixedPair absoluteRegionForEventTargets(const EventTargetSet*);
    12141214
    1215     LayoutRect absoluteEventHandlerBounds(bool&) override final;
     1215    LayoutRect absoluteEventHandlerBounds(bool&) final;
    12161216
    12171217    bool visualUpdatesAllowed() const { return m_visualUpdatesAllowed; }
     
    12601260    void removeDisabledFieldsetElement() { ASSERT(m_disabledFieldsetElementsCount); m_disabledFieldsetElementsCount--; }
    12611261
    1262     WEBCORE_EXPORT void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) override final;
    1263 
    1264     WEBCORE_EXPORT SecurityOrigin* topOrigin() const override final;
     1262    WEBCORE_EXPORT void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) final;
     1263
     1264    WEBCORE_EXPORT SecurityOrigin* topOrigin() const final;
    12651265
    12661266    Ref<FontFaceSet> fonts();
     
    12711271
    12721272#if ENABLE(SUBTLE_CRYPTO)
    1273     bool wrapCryptoKey(const Vector<uint8_t>& key, Vector<uint8_t>& wrappedKey) override final;
    1274     bool unwrapCryptoKey(const Vector<uint8_t>& wrappedKey, Vector<uint8_t>& key) override final;
     1273    bool wrapCryptoKey(const Vector<uint8_t>& key, Vector<uint8_t>& wrappedKey) final;
     1274    bool unwrapCryptoKey(const Vector<uint8_t>& wrappedKey, Vector<uint8_t>& key) final;
    12751275#endif
    12761276
     
    13391339
    13401340    // FontSelectorClient
    1341     void fontsNeedUpdate(FontSelector&) override final;
    1342 
    1343     bool isDocument() const override final { return true; }
    1344 
    1345     void childrenChanged(const ChildChange&) override final;
    1346 
    1347     String nodeName() const override final;
    1348     NodeType nodeType() const override final;
    1349     bool childTypeAllowed(NodeType) const override final;
    1350     Ref<Node> cloneNodeInternal(Document&, CloningOperation) override final;
     1341    void fontsNeedUpdate(FontSelector&) final;
     1342
     1343    bool isDocument() const final { return true; }
     1344
     1345    void childrenChanged(const ChildChange&) final;
     1346
     1347    String nodeName() const final;
     1348    NodeType nodeType() const final;
     1349    bool childTypeAllowed(NodeType) const final;
     1350    Ref<Node> cloneNodeInternal(Document&, CloningOperation) final;
    13511351    void cloneDataFromDocument(const Document&);
    13521352
    1353     void refScriptExecutionContext() override final { ref(); }
    1354     void derefScriptExecutionContext() override final { deref(); }
    1355 
    1356     void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber, RefPtr<Inspector::ScriptCallStack>&&, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0) override final;
    1357 
    1358     double minimumTimerInterval() const override final;
    1359 
    1360     double timerAlignmentInterval(bool hasReachedMaxNestingLevel) const override final;
     1353    void refScriptExecutionContext() final { ref(); }
     1354    void derefScriptExecutionContext() final { deref(); }
     1355
     1356    void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber, RefPtr<Inspector::ScriptCallStack>&&, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0) final;
     1357
     1358    double minimumTimerInterval() const final;
     1359
     1360    double timerAlignmentInterval(bool hasReachedMaxNestingLevel) const final;
    13611361
    13621362    void updateTitleFromTitleElement();
     
    14081408    bool isDOMCookieCacheValid() const { return m_cookieCacheExpiryTimer.isActive(); }
    14091409    void invalidateDOMCookieCache();
    1410     void didLoadResourceSynchronously(const ResourceRequest&) override final;
     1410    void didLoadResourceSynchronously(const ResourceRequest&) final;
    14111411
    14121412    void checkViewportDependentPictures();
  • trunk/Source/WebCore/dom/DocumentFragment.h

    r197563 r197566  
    3737    bool parseXML(const String&, Element* contextElement, ParserContentPolicy = AllowScriptingContent);
    3838   
    39     bool canContainRangeEndPoint() const override final { return true; }
     39    bool canContainRangeEndPoint() const final { return true; }
    4040    virtual bool isTemplateContent() const { return false; }
    4141
     
    4545protected:
    4646    DocumentFragment(Document&, ConstructionType = CreateContainer);
    47     String nodeName() const override final;
     47    String nodeName() const final;
    4848
    4949private:
    50     NodeType nodeType() const override final;
     50    NodeType nodeType() const final;
    5151    Ref<Node> cloneNodeInternal(Document&, CloningOperation) override;
    5252    bool childTypeAllowed(NodeType) const override;
  • trunk/Source/WebCore/dom/Element.h

    r197563 r197566  
    195195    bool hasLocalName(const AtomicString& other) const { return m_tagName.localName() == other; }
    196196
    197     const AtomicString& localName() const override final { return m_tagName.localName(); }
    198     const AtomicString& prefix() const override final { return m_tagName.prefix(); }
    199     const AtomicString& namespaceURI() const override final { return m_tagName.namespaceURI(); }
     197    const AtomicString& localName() const final { return m_tagName.localName(); }
     198    const AtomicString& prefix() const final { return m_tagName.prefix(); }
     199    const AtomicString& namespaceURI() const final { return m_tagName.namespaceURI(); }
    200200
    201201    String nodeName() const override;
     
    373373    bool isFinishedParsingChildren() const { return isParsingChildrenFinished(); }
    374374    void finishParsingChildren() override;
    375     void beginParsingChildren() override final;
     375    void beginParsingChildren() final;
    376376
    377377    WEBCORE_EXPORT PseudoElement* beforePseudoElement() const;
     
    512512    void removedFrom(ContainerNode&) override;
    513513    void childrenChanged(const ChildChange&) override;
    514     void removeAllEventListeners() override final;
     514    void removeAllEventListeners() final;
    515515    virtual void parserDidSetAttributes();
    516516
     
    565565    void scrollByUnits(int units, ScrollGranularity);
    566566
    567     void setPrefix(const AtomicString&, ExceptionCode&) override final;
    568     NodeType nodeType() const override final;
    569     bool childTypeAllowed(NodeType) const override final;
     567    void setPrefix(const AtomicString&, ExceptionCode&) final;
     568    NodeType nodeType() const final;
     569    bool childTypeAllowed(NodeType) const final;
    570570
    571571    void setAttributeInternal(unsigned index, const QualifiedName&, const AtomicString& value, SynchronizationOfLazyAttribute);
  • trunk/Source/WebCore/dom/EventTarget.h

    r197563 r197566  
    162162class EventTargetWithInlineData : public EventTarget {
    163163protected:
    164     EventTargetData* eventTargetData() override final { return &m_eventTargetData; }
    165     EventTargetData& ensureEventTargetData() override final { return m_eventTargetData; }
     164    EventTargetData* eventTargetData() final { return &m_eventTargetData; }
     165    EventTargetData& ensureEventTargetData() final { return m_eventTargetData; }
    166166private:
    167167    EventTargetData m_eventTargetData;
  • trunk/Source/WebCore/dom/LiveNodeList.h

    r197563 r197566  
    6565
    6666private:
    67     bool isLiveNodeList() const override final { return true; }
     67    bool isLiveNodeList() const final { return true; }
    6868
    6969    ContainerNode& rootNode() const;
     
    8080    virtual ~CachedLiveNodeList();
    8181
    82     unsigned length() const override final { return m_indexCache.nodeCount(nodeList()); }
     82    unsigned length() const final { return m_indexCache.nodeCount(nodeList()); }
    8383    Element* item(unsigned offset) const override { return m_indexCache.nodeAt(nodeList(), offset); }
    8484
     
    9292    void willValidateIndexCache() const { document().registerNodeListForInvalidation(const_cast<CachedLiveNodeList<NodeListType>&>(*this)); }
    9393
    94     void invalidateCache(Document&) const override final;
    95     size_t memoryCost() const override final { return m_indexCache.memoryCost(); }
     94    void invalidateCache(Document&) const final;
     95    size_t memoryCost() const final { return m_indexCache.memoryCost(); }
    9696
    9797protected:
  • trunk/Source/WebCore/dom/MouseEvent.h

    r197563 r197566  
    8282    unsigned short button() const { return m_button; }
    8383    bool buttonDown() const { return m_buttonDown; }
    84     EventTarget* relatedTarget() const override final { return m_relatedTarget.get(); }
     84    EventTarget* relatedTarget() const final { return m_relatedTarget.get(); }
    8585    void setRelatedTarget(PassRefPtr<EventTarget> relatedTarget) { m_relatedTarget = relatedTarget; }
    8686    double force() const { return m_force; }
  • trunk/Source/WebCore/dom/MouseRelatedEvent.h

    r197563 r197566  
    5555    WEBCORE_EXPORT int offsetY();
    5656    bool isSimulated() const { return m_isSimulated; }
    57     int pageX() const override final;
    58     int pageY() const override final;
     57    int pageX() const final;
     58    int pageY() const final;
    5959    virtual const LayoutPoint& pageLocation() const;
    6060    int x() const;
     
    7878    void initCoordinates();
    7979    void initCoordinates(const LayoutPoint& clientLocation);
    80     void receivedTarget() override final;
     80    void receivedTarget() final;
    8181
    8282    void computePageLocation();
  • trunk/Source/WebCore/dom/Node.h

    r197563 r197566  
    498498
    499499    EventTargetInterface eventTargetInterface() const override;
    500     ScriptExecutionContext* scriptExecutionContext() const override final; // Implemented in Document.h
     500    ScriptExecutionContext* scriptExecutionContext() const final; // Implemented in Document.h
    501501
    502502    bool addEventListener(const AtomicString& eventType, RefPtr<EventListener>&&, bool useCapture) override;
     
    542542#endif
    543543
    544     EventTargetData* eventTargetData() override final;
    545     EventTargetData& ensureEventTargetData() override final;
     544    EventTargetData* eventTargetData() final;
     545    EventTargetData& ensureEventTargetData() final;
    546546
    547547    void getRegisteredMutationObserversOfType(HashMap<MutationObserver*, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const QualifiedName* attributeName);
  • trunk/Source/WebCore/dom/ScriptableDocumentParser.h

    r197563 r197566  
    6060
    6161private:
    62     ScriptableDocumentParser* asScriptableDocumentParser() override final { return this; }
     62    ScriptableDocumentParser* asScriptableDocumentParser() final { return this; }
    6363
    6464    // http://www.whatwg.org/specs/web-apps/current-work/#script-created-parser
  • trunk/Source/WebCore/dom/StyledElement.h

    r197563 r197566  
    5959    void synchronizeStyleAttributeInternal() const { StyledElement::synchronizeStyleAttributeInternal(const_cast<StyledElement*>(this)); }
    6060   
    61     CSSStyleDeclaration* cssomStyle() override final;
     61    CSSStyleDeclaration* cssomStyle() final;
    6262
    6363    const StyleProperties* presentationAttributeStyle();
  • trunk/Source/WebCore/dom/Text.h

    r197563 r197566  
    5050    RenderPtr<RenderText> createTextRenderer(const RenderStyle&);
    5151   
    52     bool canContainRangeEndPoint() const override final { return true; }
     52    bool canContainRangeEndPoint() const final { return true; }
    5353
    5454    RenderText* renderer() const;
  • trunk/Source/WebCore/dom/UIEvent.h

    r197563 r197566  
    7878
    7979private:
    80     bool isUIEvent() const override final;
     80    bool isUIEvent() const final;
    8181
    8282    RefPtr<AbstractView> m_view;
  • trunk/Source/WebCore/html/CachedHTMLCollection.h

    r197563 r197566  
    4040    virtual ~CachedHTMLCollection();
    4141
    42     unsigned length() const override final { return m_indexCache.nodeCount(collection()); }
     42    unsigned length() const final { return m_indexCache.nodeCount(collection()); }
    4343    Element* item(unsigned offset) const override { return m_indexCache.nodeAt(collection(), offset); }
    4444    Element* namedItem(const AtomicString& name) const override;
    45     size_t memoryCost() const override final { return m_indexCache.memoryCost() + HTMLCollection::memoryCost(); }
     45    size_t memoryCost() const final { return m_indexCache.memoryCost() + HTMLCollection::memoryCost(); }
    4646
    4747    // For CollectionIndexCache; do not use elsewhere.
  • trunk/Source/WebCore/html/FormAssociatedElement.h

    r197563 r197566  
    113113    void resetFormAttributeTargetObserver();
    114114
    115     bool isFormAssociatedElement() const override final { return true; }
     115    bool isFormAssociatedElement() const final { return true; }
    116116
    117117    std::unique_ptr<FormAttributeTargetObserver> m_formAttributeTargetObserver;
  • trunk/Source/WebCore/html/HTMLAnchorElement.h

    r197563 r197566  
    104104    bool isLiveLink() const;
    105105
    106     bool willRespondToMouseClickEvents() override final;
     106    bool willRespondToMouseClickEvents() final;
    107107
    108108    bool hasRel(uint32_t relation) const;
     
    122122    bool isMouseFocusable() const override;
    123123    bool isKeyboardFocusable(KeyboardEvent*) const override;
    124     void defaultEventHandler(Event*) override final;
    125     void setActive(bool active = true, bool pause = false) override final;
    126     void accessKeyAction(bool sendMouseEvents) override final;
    127     bool isURLAttribute(const Attribute&) const override final;
    128     bool canStartSelection() const override final;
     124    void defaultEventHandler(Event*) final;
     125    void setActive(bool active = true, bool pause = false) final;
     126    void accessKeyAction(bool sendMouseEvents) final;
     127    bool isURLAttribute(const Attribute&) const final;
     128    bool canStartSelection() const final;
    129129    String target() const override;
    130     short tabIndex() const override final;
    131     bool draggable() const override final;
     130    short tabIndex() const final;
     131    bool draggable() const final;
    132132
    133133    void sendPings(const URL& destinationURL);
  • trunk/Source/WebCore/html/HTMLButtonElement.h

    r197563 r197566  
    5050    // HTMLFormControlElement always creates one, but buttons don't need it.
    5151    bool alwaysCreateUserAgentShadowRoot() const override { return false; }
    52     bool canHaveUserAgentShadowRoot() const override final { return true; }
     52    bool canHaveUserAgentShadowRoot() const final { return true; }
    5353
    5454    void parseAttribute(const QualifiedName&, const AtomicString&) override;
  • trunk/Source/WebCore/html/HTMLDetailsElement.h

    r197563 r197566  
    4343
    4444    void didAddUserAgentShadowRoot(ShadowRoot*) override;
    45     bool canHaveUserAgentShadowRoot() const override final { return true; }
     45    bool canHaveUserAgentShadowRoot() const final { return true; }
    4646
    4747    bool m_isOpen { false };
  • trunk/Source/WebCore/html/HTMLDocument.h

    r197563 r197566  
    8989    bool isFrameSet() const override;
    9090    Ref<DocumentParser> createParser() override;
    91     Ref<Document> cloneDocumentWithoutChildren() const override final;
     91    Ref<Document> cloneDocumentWithoutChildren() const final;
    9292
    9393    DocumentOrderedMap m_documentNamedItem;
  • trunk/Source/WebCore/html/HTMLElement.h

    r197563 r197566  
    4343    static Ref<HTMLElement> create(const QualifiedName& tagName, Document&);
    4444
    45     WEBCORE_EXPORT String title() const override final;
     45    WEBCORE_EXPORT String title() const final;
    4646
    4747    short tabIndex() const override;
     
    126126
    127127private:
    128     String nodeName() const override final;
     128    String nodeName() const final;
    129129
    130130    void mapLanguageAttributeToLocale(const AtomicString&, MutableStyleProperties&);
  • trunk/Source/WebCore/html/HTMLFormControlElement.h

    r197563 r197566  
    102102#endif
    103103
    104     bool willValidate() const override final;
     104    bool willValidate() const final;
    105105    void updateVisibleValidationMessage();
    106106    void hideVisibleValidationMessage();
     
    164164    bool matchesInvalidPseudoClass() const override;
    165165
    166     bool isFormControlElement() const override final { return true; }
     166    bool isFormControlElement() const final { return true; }
    167167    bool alwaysCreateUserAgentShadowRoot() const override { return true; }
    168168
    169     short tabIndex() const override final;
     169    short tabIndex() const final;
    170170
    171171    HTMLFormElement* virtualForm() const override;
     
    174174    bool computeIsDisabledByFieldsetAncestor() const;
    175175
    176     HTMLElement& asHTMLElement() override final { return *this; }
    177     const HTMLFormControlElement& asHTMLElement() const override final { return *this; }
    178     HTMLFormControlElement* asFormNamedItem() override final { return this; }
     176    HTMLElement& asHTMLElement() final { return *this; }
     177    const HTMLFormControlElement& asHTMLElement() const final { return *this; }
     178    HTMLFormControlElement* asFormNamedItem() final { return this; }
    179179
    180180    std::unique_ptr<ValidationMessage> m_validationMessage;
  • trunk/Source/WebCore/html/HTMLFrameElementBase.h

    r197563 r197566  
    3636    void setLocation(const String&);
    3737
    38     ScrollbarMode scrollingMode() const override final { return m_scrolling; }
     38    ScrollbarMode scrollingMode() const final { return m_scrolling; }
    3939   
    4040    int marginWidth() const { return m_marginWidth; }
     
    4444    int height();
    4545
    46     bool canContainRangeEndPoint() const override final { return false; }
     46    bool canContainRangeEndPoint() const final { return false; }
    4747
    4848protected:
     
    5252
    5353    void parseAttribute(const QualifiedName&, const AtomicString&) override;
    54     InsertionNotificationRequest insertedInto(ContainerNode&) override final;
    55     void finishedInsertingSubtree() override final;
     54    InsertionNotificationRequest insertedInto(ContainerNode&) final;
     55    void finishedInsertingSubtree() final;
    5656    void didAttachRenderers() override;
    5757
    5858private:
    59     bool supportsFocus() const override final;
    60     void setFocus(bool) override final;
     59    bool supportsFocus() const final;
     60    void setFocus(bool) final;
    6161   
    62     bool isURLAttribute(const Attribute&) const override final;
    63     bool isHTMLContentAttribute(const Attribute&) const override final;
     62    bool isURLAttribute(const Attribute&) const final;
     63    bool isHTMLContentAttribute(const Attribute&) const final;
    6464
    65     bool isFrameElementBase() const override final { return true; }
     65    bool isFrameElementBase() const final { return true; }
    6666
    6767    void setNameAndOpenURL();
  • trunk/Source/WebCore/html/HTMLFrameOwnerElement.h

    r197563 r197566  
    6565private:
    6666    bool isKeyboardFocusable(KeyboardEvent*) const override;
    67     bool isFrameOwnerElement() const override final { return true; }
     67    bool isFrameOwnerElement() const final { return true; }
    6868
    6969    Frame* m_contentFrame;
  • trunk/Source/WebCore/html/HTMLImageElement.h

    r197563 r197566  
    122122    void removedFrom(ContainerNode&) override;
    123123
    124     bool isFormAssociatedElement() const override final { return false; }
    125     FormNamedItem* asFormNamedItem() override final { return this; }
    126     HTMLImageElement& asHTMLElement() override final { return *this; }
    127     const HTMLImageElement& asHTMLElement() const override final { return *this; }
     124    bool isFormAssociatedElement() const final { return false; }
     125    FormNamedItem* asFormNamedItem() final { return this; }
     126    HTMLImageElement& asHTMLElement() final { return *this; }
     127    const HTMLImageElement& asHTMLElement() const final { return *this; }
    128128
    129129    void selectImageSource();
  • trunk/Source/WebCore/html/HTMLInputElement.h

    r197563 r197566  
    6767    virtual ~HTMLInputElement();
    6868
    69     WEBCORE_EXPORT bool shouldAutocomplete() const override final;
     69    WEBCORE_EXPORT bool shouldAutocomplete() const final;
    7070
    7171    // For ValidityState
    72     bool hasBadInput() const override final;
    73     bool patternMismatch() const override final;
    74     bool rangeUnderflow() const override final;
    75     bool rangeOverflow() const override final;
    76     bool stepMismatch() const override final;
    77     bool tooLong() const override final;
    78     bool typeMismatch() const override final;
    79     bool valueMissing() const override final;
    80     String validationMessage() const override final;
     72    bool hasBadInput() const final;
     73    bool patternMismatch() const final;
     74    bool rangeUnderflow() const final;
     75    bool rangeOverflow() const final;
     76    bool stepMismatch() const final;
     77    bool tooLong() const final;
     78    bool typeMismatch() const final;
     79    bool valueMissing() const final;
     80    String validationMessage() const final;
    8181
    8282    // Returns the minimum value for type=date, number, or range.  Don't call this for other types.
     
    142142    HTMLElement* containerElement() const;
    143143   
    144     TextControlInnerTextElement* innerTextElement() const override final;
     144    TextControlInnerTextElement* innerTextElement() const final;
    145145    Ref<RenderStyle> createInnerTextStyle(const RenderStyle&) const override;
    146146
     
    152152    HTMLElement* sliderThumbElement() const;
    153153    HTMLElement* sliderTrackElement() const;
    154     HTMLElement* placeholderElement() const override final;
     154    HTMLElement* placeholderElement() const final;
    155155    WEBCORE_EXPORT HTMLElement* autoFillButtonElement() const;
    156156
     
    163163    // shouldAppearChecked is used by the rendering tree/CSS while checked() is used by JS to determine checked state
    164164    bool shouldAppearChecked() const;
    165     bool shouldAppearIndeterminate() const override final;
     165    bool shouldAppearIndeterminate() const final;
    166166
    167167    unsigned size() const;
     
    171171    void setType(const AtomicString&);
    172172
    173     WEBCORE_EXPORT String value() const override final;
     173    WEBCORE_EXPORT String value() const final;
    174174    void setValue(const String&, ExceptionCode&, TextFieldEventBehavior = DispatchNoEvent);
    175175    WEBCORE_EXPORT void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent);
     
    201201    bool canHaveSelection() const;
    202202
    203     bool rendererIsNeeded(const RenderStyle&) override final;
    204     RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) override final;
    205     void willAttachRenderers() override final;
    206     void didAttachRenderers() override final;
    207     void didDetachRenderers() override final;
     203    bool rendererIsNeeded(const RenderStyle&) final;
     204    RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) final;
     205    void willAttachRenderers() final;
     206    void didAttachRenderers() final;
     207    void didDetachRenderers() final;
    208208
    209209    // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NVI-idiom here by making
    210210    // it private virtual in all classes and expose a public method in HTMLFormControlElement to call
    211211    // the private virtual method.
    212     bool isActivatedSubmit() const override final;
    213     void setActivatedSubmit(bool flag) override final;
     212    bool isActivatedSubmit() const final;
     213    void setActivatedSubmit(bool flag) final;
    214214
    215215    String altText() const;
     
    300300    void setWidth(unsigned);
    301301
    302     void blur() override final;
     302    void blur() final;
    303303    void defaultBlur();
    304304
    305     const AtomicString& name() const override final;
     305    const AtomicString& name() const final;
    306306
    307307    void endEditing();
     
    309309    static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&);
    310310
    311     bool matchesReadWritePseudoClass() const override final;
    312     void setRangeText(const String& replacement, ExceptionCode&) override final;
    313     void setRangeText(const String& replacement, unsigned start, unsigned end, const String& selectionMode, ExceptionCode&) override final;
     311    bool matchesReadWritePseudoClass() const final;
     312    void setRangeText(const String& replacement, ExceptionCode&) final;
     313    void setRangeText(const String& replacement, unsigned start, unsigned end, const String& selectionMode, ExceptionCode&) final;
    314314
    315315    HTMLImageLoader* imageLoader() { return m_imageLoader.get(); }
     
    330330    enum AutoCompleteSetting { Uninitialized, On, Off };
    331331
    332     void didAddUserAgentShadowRoot(ShadowRoot*) override final;
    333     bool canHaveUserAgentShadowRoot() const override final { return true; }
    334 
    335     void willChangeForm() override final;
    336     void didChangeForm() override final;
    337     InsertionNotificationRequest insertedInto(ContainerNode&) override final;
    338     void finishedInsertingSubtree() override final;
    339     void removedFrom(ContainerNode&) override final;
    340     void didMoveToNewDocument(Document* oldDocument) override final;
    341 
    342     bool hasCustomFocusLogic() const override final;
    343     bool isKeyboardFocusable(KeyboardEvent*) const override final;
    344     bool isMouseFocusable() const override final;
    345     bool isEnumeratable() const override final;
    346     bool supportLabels() const override final;
    347     void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) override final;
    348     bool shouldUseInputMethod() override final;
    349 
    350     bool isTextFormControl() const override final { return isTextField(); }
    351 
    352     bool canTriggerImplicitSubmission() const override final { return isTextField(); }
    353 
    354     const AtomicString& formControlType() const override final;
    355 
    356     bool shouldSaveAndRestoreFormControlState() const override final;
    357     FormControlState saveFormControlState() const override final;
    358     void restoreFormControlState(const FormControlState&) override final;
    359 
    360     bool canStartSelection() const override final;
    361 
    362     void accessKeyAction(bool sendMouseEvents) override final;
    363 
    364     void parseAttribute(const QualifiedName&, const AtomicString&) override final;
    365     bool isPresentationAttribute(const QualifiedName&) const override final;
    366     void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override final;
    367     void finishParsingChildren() override final;
    368     void parserDidSetAttributes() override final;
    369 
    370     void copyNonAttributePropertiesFromElement(const Element&) override final;
    371 
    372     bool appendFormData(FormDataList&, bool) override final;
    373 
    374     bool isSuccessfulSubmitButton() const override final;
    375 
    376     void reset() override final;
    377 
    378     bool isURLAttribute(const Attribute&) const override final;
    379     bool isInRange() const override final;
    380     bool isOutOfRange() const override final;
    381 
    382     void resumeFromDocumentSuspension() override final;
     332    void didAddUserAgentShadowRoot(ShadowRoot*) final;
     333    bool canHaveUserAgentShadowRoot() const final { return true; }
     334
     335    void willChangeForm() final;
     336    void didChangeForm() final;
     337    InsertionNotificationRequest insertedInto(ContainerNode&) final;
     338    void finishedInsertingSubtree() final;
     339    void removedFrom(ContainerNode&) final;
     340    void didMoveToNewDocument(Document* oldDocument) final;
     341
     342    bool hasCustomFocusLogic() const final;
     343    bool isKeyboardFocusable(KeyboardEvent*) const final;
     344    bool isMouseFocusable() const final;
     345    bool isEnumeratable() const final;
     346    bool supportLabels() const final;
     347    void updateFocusAppearance(SelectionRestorationMode, SelectionRevealMode) final;
     348    bool shouldUseInputMethod() final;
     349
     350    bool isTextFormControl() const final { return isTextField(); }
     351
     352    bool canTriggerImplicitSubmission() const final { return isTextField(); }
     353
     354    const AtomicString& formControlType() const final;
     355
     356    bool shouldSaveAndRestoreFormControlState() const final;
     357    FormControlState saveFormControlState() const final;
     358    void restoreFormControlState(const FormControlState&) final;
     359
     360    bool canStartSelection() const final;
     361
     362    void accessKeyAction(bool sendMouseEvents) final;
     363
     364    void parseAttribute(const QualifiedName&, const AtomicString&) final;
     365    bool isPresentationAttribute(const QualifiedName&) const final;
     366    void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
     367    void finishParsingChildren() final;
     368    void parserDidSetAttributes() final;
     369
     370    void copyNonAttributePropertiesFromElement(const Element&) final;
     371
     372    bool appendFormData(FormDataList&, bool) final;
     373
     374    bool isSuccessfulSubmitButton() const final;
     375
     376    void reset() final;
     377
     378    bool isURLAttribute(const Attribute&) const final;
     379    bool isInRange() const final;
     380    bool isOutOfRange() const final;
     381
     382    void resumeFromDocumentSuspension() final;
    383383#if ENABLE(INPUT_TYPE_COLOR)
    384     void prepareForDocumentSuspension() override final;
    385 #endif
    386 
    387     void addSubresourceAttributeURLs(ListHashSet<URL>&) const override final;
     384    void prepareForDocumentSuspension() final;
     385#endif
     386
     387    void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
    388388
    389389    bool needsSuspensionCallback();
     
    395395    bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
    396396
    397     bool supportsPlaceholder() const override final;
    398     void updatePlaceholderText() override final;
    399     bool isEmptyValue() const override final;
    400     void handleFocusEvent(Node* oldFocusedNode, FocusDirection) override final;
    401     void handleBlurEvent() override final;
    402 
    403     bool isOptionalFormControl() const override final { return !isRequiredFormControl(); }
    404     bool isRequiredFormControl() const override final;
    405     bool computeWillValidate() const override final;
    406     void requiredAttributeChanged() override final;
     397    bool supportsPlaceholder() const final;
     398    void updatePlaceholderText() final;
     399    bool isEmptyValue() const final;
     400    void handleFocusEvent(Node* oldFocusedNode, FocusDirection) final;
     401    void handleBlurEvent() final;
     402
     403    bool isOptionalFormControl() const final { return !isRequiredFormControl(); }
     404    bool isRequiredFormControl() const final;
     405    bool computeWillValidate() const final;
     406    void requiredAttributeChanged() final;
    407407
    408408    void initializeInputType();
     
    410410    void runPostTypeUpdateTasks();
    411411   
    412     void subtreeHasChanged() override final;
     412    void subtreeHasChanged() final;
    413413
    414414#if ENABLE(DATALIST_ELEMENT)
  • trunk/Source/WebCore/html/HTMLKeygenElement.h

    r197563 r197566  
    5353    bool shouldSaveAndRestoreFormControlState() const override;
    5454
    55     bool canHaveUserAgentShadowRoot() const override final { return true; }
     55    bool canHaveUserAgentShadowRoot() const final { return true; }
    5656
    5757    HTMLSelectElement* shadowSelect() const;
  • trunk/Source/WebCore/html/HTMLMarqueeElement.h

    r197563 r197566  
    6363    const char* activeDOMObjectName() const override { return "HTMLMarqueeElement"; }
    6464
    65     bool canHaveUserAgentShadowRoot() const override final { return true; }
     65    bool canHaveUserAgentShadowRoot() const final { return true; }
    6666
    6767    RenderMarquee* renderMarquee() const;
  • trunk/Source/WebCore/html/HTMLMediaElement.h

    r197563 r197566  
    472472    virtual void setDisplayMode(DisplayMode mode) { m_displayMode = mode; }
    473473   
    474     bool isMediaElement() const override final { return true; }
     474    bool isMediaElement() const final { return true; }
    475475
    476476#if ENABLE(VIDEO_TRACK)
     
    495495
    496496    // FIXME: Shadow DOM spec says we should be able to create shadow root on audio and video elements
    497     bool canHaveUserAgentShadowRoot() const override final { return true; }
     497    bool canHaveUserAgentShadowRoot() const final { return true; }
    498498
    499499    bool hasCustomFocusLogic() const override;
     
    611611#endif
    612612
    613     bool mediaPlayerIsInMediaDocument() const override final;
    614     void mediaPlayerEngineFailedToLoad() const override final;
    615 
    616     double mediaPlayerRequestedPlaybackRate() const override final;
    617     VideoFullscreenMode mediaPlayerFullscreenMode() const override final { return fullscreenMode(); }
     613    bool mediaPlayerIsInMediaDocument() const final;
     614    void mediaPlayerEngineFailedToLoad() const final;
     615
     616    double mediaPlayerRequestedPlaybackRate() const final;
     617    VideoFullscreenMode mediaPlayerFullscreenMode() const final { return fullscreenMode(); }
    618618
    619619#if USE(GSTREAMER)
    620     void requestInstallMissingPlugins(const String& details, const String& description, MediaPlayerRequestInstallMissingPluginsCallback&) override final;
     620    void requestInstallMissingPlugins(const String& details, const String& description, MediaPlayerRequestInstallMissingPluginsCallback&) final;
    621621#endif
    622622
     
    753753
    754754#if ENABLE(WIRELESS_PLAYBACK_TARGET)
    755     void prepareForDocumentSuspension() override final;
    756     void resumeFromDocumentSuspension() override final;
     755    void prepareForDocumentSuspension() final;
     756    void resumeFromDocumentSuspension() final;
    757757
    758758    enum class UpdateMediaState {
     
    764764#endif
    765765
    766     void isVisibleInViewportChanged() override final;
     766    void isVisibleInViewportChanged() final;
    767767    void updateShouldAutoplay();
    768768
  • trunk/Source/WebCore/html/HTMLMeterElement.h

    r197563 r197566  
    7777    void didElementStateChange();
    7878    void didAddUserAgentShadowRoot(ShadowRoot*) override;
    79     bool canHaveUserAgentShadowRoot() const override final { return true; }
     79    bool canHaveUserAgentShadowRoot() const final { return true; }
    8080
    8181    RefPtr<MeterValueElement> m_value;
  • trunk/Source/WebCore/html/HTMLObjectElement.h

    r197563 r197566  
    6464
    6565    InsertionNotificationRequest insertedInto(ContainerNode&) override;
    66     void finishedInsertingSubtree() override final;
     66    void finishedInsertingSubtree() final;
    6767    void removedFrom(ContainerNode&) override;
    6868
  • trunk/Source/WebCore/html/HTMLPlugInElement.h

    r197563 r197566  
    119119
    120120    // FIXME: Shadow DOM spec says we should be able to create shadow root on applet, embed, and object.
    121     bool canHaveUserAgentShadowRoot() const override final { return true; }
     121    bool canHaveUserAgentShadowRoot() const final { return true; }
    122122
    123123    // This will load the plugin if necessary.
     
    127127
    128128    bool isKeyboardFocusable(KeyboardEvent*) const override;
    129     bool isPluginElement() const override final;
     129    bool isPluginElement() const final;
    130130
    131131    RefPtr<JSC::Bindings::Instance> m_instance;
  • trunk/Source/WebCore/html/HTMLPlugInImageElement.h

    r197563 r197566  
    9595
    9696    void didMoveToNewDocument(Document* oldDocument) override;
    97     bool requestObject(const String& url, const String& mimeType, const Vector<String>& paramNames, const Vector<String>& paramValues) override final;
     97    bool requestObject(const String& url, const String& mimeType, const Vector<String>& paramNames, const Vector<String>& paramValues) final;
    9898
    9999    bool isImageType();
     
    109109
    110110private:
    111     bool isPlugInImageElement() const override final { return true; }
    112     bool isRestartedPlugin() const override final { return m_isRestartedPlugin; }
     111    bool isPlugInImageElement() const final { return true; }
     112    bool isRestartedPlugin() const final { return m_isRestartedPlugin; }
    113113
    114     void finishParsingChildren() override final;
    115     void didAddUserAgentShadowRoot(ShadowRoot*) override final;
     114    void finishParsingChildren() final;
     115    void didAddUserAgentShadowRoot(ShadowRoot*) final;
    116116
    117117    RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) override;
    118118    bool childShouldCreateRenderer(const Node&) const override;
    119     bool willRecalcStyle(Style::Change) override final;
    120     void didAttachRenderers() override final;
    121     void willDetachRenderers() override final;
     119    bool willRecalcStyle(Style::Change) final;
     120    void didAttachRenderers() final;
     121    void willDetachRenderers() final;
    122122
    123     void prepareForDocumentSuspension() override final;
    124     void resumeFromDocumentSuspension() override final;
     123    void prepareForDocumentSuspension() final;
     124    void resumeFromDocumentSuspension() final;
    125125
    126     void defaultEventHandler(Event*) override final;
    127     void dispatchPendingMouseClick() override final;
     126    void defaultEventHandler(Event*) final;
     127    void dispatchPendingMouseClick() final;
    128128
    129     void updateSnapshot(PassRefPtr<Image>) override final;
     129    void updateSnapshot(PassRefPtr<Image>) final;
    130130
    131131    void startLoadingImage();
  • trunk/Source/WebCore/html/HTMLProgressElement.h

    r197563 r197566  
    6363    void didElementStateChange();
    6464    void didAddUserAgentShadowRoot(ShadowRoot*) override;
    65     bool canHaveUserAgentShadowRoot() const override final { return true; }
     65    bool canHaveUserAgentShadowRoot() const final { return true; }
    6666    bool isDeterminate() const;
    6767
  • trunk/Source/WebCore/html/HTMLSelectElement.h

    r197563 r197566  
    124124    bool isMouseFocusable() const override;
    125125
    126     void dispatchFocusEvent(RefPtr<Element>&& oldFocusedElement, FocusDirection) override final;
    127     void dispatchBlurEvent(RefPtr<Element>&& newFocusedElement) override final;
     126    void dispatchFocusEvent(RefPtr<Element>&& oldFocusedElement, FocusDirection) final;
     127    void dispatchBlurEvent(RefPtr<Element>&& newFocusedElement) final;
    128128   
    129129    bool canStartSelection() const override { return false; }
    130130
    131     bool canHaveUserAgentShadowRoot() const override final { return true; }
     131    bool canHaveUserAgentShadowRoot() const final { return true; }
    132132
    133133    bool isEnumeratable() const override { return true; }
     
    150150    void dispatchChangeEventForMenuList();
    151151
    152     void didRecalcStyle(Style::Change) override final;
     152    void didRecalcStyle(Style::Change) final;
    153153
    154154    void recalcListItems(bool updateSelectedStates = true) const;
  • trunk/Source/WebCore/html/HTMLSummaryElement.h

    r197563 r197566  
    4444
    4545    // FIXME: Shadow DOM spec says we should be able to create shadow root on this element
    46     bool canHaveUserAgentShadowRoot() const override final { return true; }
     46    bool canHaveUserAgentShadowRoot() const final { return true; }
    4747
    4848    HTMLDetailsElement* detailsElement() const;
  • trunk/Source/WebCore/html/HTMLTextAreaElement.h

    r197563 r197566  
    7070
    7171    void didAddUserAgentShadowRoot(ShadowRoot*) override;
    72     bool canHaveUserAgentShadowRoot() const override final { return true; }
     72    bool canHaveUserAgentShadowRoot() const final { return true; }
    7373
    7474    void maxLengthAttributeChanged(const AtomicString& newValue);
  • trunk/Source/WebCore/html/HTMLTextFormControlElement.h

    r197563 r197566  
    7676    String selectedText() const;
    7777
    78     void dispatchFormControlChangeEvent() override final;
     78    void dispatchFormControlChangeEvent() final;
    7979
    8080    virtual String value() const = 0;
     
    132132    TextFieldSelectionDirection computeSelectionDirection() const;
    133133
    134     void dispatchFocusEvent(RefPtr<Element>&& oldFocusedElement, FocusDirection) override final;
    135     void dispatchBlurEvent(RefPtr<Element>&& newFocusedElement) override final;
     134    void dispatchFocusEvent(RefPtr<Element>&& oldFocusedElement, FocusDirection) final;
     135    void dispatchBlurEvent(RefPtr<Element>&& newFocusedElement) final;
    136136    bool childShouldCreateRenderer(const Node&) const override;
    137137
  • trunk/Source/WebCore/html/HTMLUnknownElement.h

    r197563 r197566  
    4949
    5050#if ENABLE(METER_ELEMENT)
    51     bool canHaveUserAgentShadowRoot() const override final { return false; }
     51    bool canHaveUserAgentShadowRoot() const final { return false; }
    5252#else
    53     bool canHaveUserAgentShadowRoot() const override final { return localName() == "meter"; }
     53    bool canHaveUserAgentShadowRoot() const final { return localName() == "meter"; }
    5454#endif
    5555
  • trunk/Source/WebCore/html/LabelableElement.h

    r197563 r197566  
    4848
    4949private:
    50     bool isLabelable() const override final { return true; }
     50    bool isLabelable() const final { return true; }
    5151};
    5252
  • trunk/Source/WebCore/html/TextFieldInputType.h

    r197563 r197566  
    5050    void handleKeydownEventForSpinButton(KeyboardEvent*);
    5151
    52     HTMLElement* containerElement() const override final;
    53     HTMLElement* innerBlockElement() const override final;
    54     TextControlInnerTextElement* innerTextElement() const override final;
    55     HTMLElement* innerSpinButtonElement() const override final;
    56     HTMLElement* capsLockIndicatorElement() const override final;
    57     HTMLElement* autoFillButtonElement() const override final;
     52    HTMLElement* containerElement() const final;
     53    HTMLElement* innerBlockElement() const final;
     54    TextControlInnerTextElement* innerTextElement() const final;
     55    HTMLElement* innerSpinButtonElement() const final;
     56    HTMLElement* capsLockIndicatorElement() const final;
     57    HTMLElement* autoFillButtonElement() const final;
    5858
    5959protected:
     
    6161    void createShadowSubtree() override;
    6262    void destroyShadowSubtree() override;
    63     void attributeChanged() override final;
    64     void disabledAttributeChanged() override final;
    65     void readonlyAttributeChanged() override final;
    66     bool supportsReadOnly() const override final;
    67     void handleFocusEvent(Node* oldFocusedNode, FocusDirection) override final;
    68     void handleBlurEvent() override final;
     63    void attributeChanged() final;
     64    void disabledAttributeChanged() final;
     65    void readonlyAttributeChanged() final;
     66    bool supportsReadOnly() const final;
     67    void handleFocusEvent(Node* oldFocusedNode, FocusDirection) final;
     68    void handleBlurEvent() final;
    6969    void setValue(const String&, bool valueChanged, TextFieldEventBehavior) override;
    70     void updateInnerTextValue() override final;
     70    void updateInnerTextValue() final;
    7171    String sanitizeValue(const String&) const override;
    7272
     
    7575
    7676private:
    77     bool isKeyboardFocusable(KeyboardEvent*) const override final;
    78     bool isMouseFocusable() const override final;
    79     bool isTextField() const override final;
    80     bool isEmptyValue() const override final;
    81     bool valueMissing(const String&) const override final;
    82     void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) override final;
    83     void forwardEvent(Event*) override final;
    84     bool shouldSubmitImplicitly(Event*) override final;
     77    bool isKeyboardFocusable(KeyboardEvent*) const final;
     78    bool isMouseFocusable() const final;
     79    bool isTextField() const final;
     80    bool isEmptyValue() const final;
     81    bool valueMissing(const String&) const final;
     82    void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) final;
     83    void forwardEvent(Event*) final;
     84    bool shouldSubmitImplicitly(Event*) final;
    8585    RenderPtr<RenderElement> createInputRenderer(Ref<RenderStyle>&&) override;
    8686    bool shouldUseInputMethod() const override;
    8787    bool shouldRespectListAttribute() override;
    88     HTMLElement* placeholderElement() const override final;
    89     void updatePlaceholderText() override final;
    90     bool appendFormData(FormDataList&, bool multipart) const override final;
    91     void subtreeHasChanged() override final;
    92     void capsLockStateMayHaveChanged() override final;
    93     void updateAutoFillButton() override final;
     88    HTMLElement* placeholderElement() const final;
     89    void updatePlaceholderText() final;
     90    bool appendFormData(FormDataList&, bool multipart) const final;
     91    void subtreeHasChanged() final;
     92    void capsLockStateMayHaveChanged() final;
     93    void updateAutoFillButton() final;
    9494
    9595    // SpinButtonElement::SpinButtonOwner functions.
    96     void focusAndSelectSpinButtonOwner() override final;
    97     bool shouldSpinButtonRespondToMouseEvents() override final;
    98     bool shouldSpinButtonRespondToWheelEvents() override final;
    99     void spinButtonStepDown() override final;
    100     void spinButtonStepUp() override final;
     96    void focusAndSelectSpinButtonOwner() final;
     97    bool shouldSpinButtonRespondToMouseEvents() final;
     98    bool shouldSpinButtonRespondToWheelEvents() final;
     99    void spinButtonStepDown() final;
     100    void spinButtonStepUp() final;
    101101
    102102    // AutoFillButtonElement::AutoFillButtonOwner
    103     void autoFillButtonElementWasClicked() override final;
     103    void autoFillButtonElementWasClicked() final;
    104104
    105105    bool shouldHaveSpinButton() const;
  • trunk/Source/WebCore/html/parser/HTMLDocumentParser.h

    r197563 r197566  
    6161    // For HTMLTreeBuilder.
    6262    HTMLTokenizer& tokenizer();
    63     TextPosition textPosition() const override final;
     63    TextPosition textPosition() const final;
    6464
    6565protected:
    6666    explicit HTMLDocumentParser(HTMLDocument&);
    6767
    68     void insert(const SegmentedString&) override final;
     68    void insert(const SegmentedString&) final;
    6969    void append(RefPtr<StringImpl>&&) override;
    7070    void finish() override;
     
    7777
    7878    // DocumentParser
    79     void detach() override final;
    80     bool hasInsertionPoint() override final;
    81     bool processingData() const override final;
    82     void prepareToStopParsing() override final;
    83     void stopParsing() override final;
     79    void detach() final;
     80    bool hasInsertionPoint() final;
     81    bool processingData() const final;
     82    void prepareToStopParsing() final;
     83    void stopParsing() final;
    8484    bool isWaitingForScripts() const override;
    85     bool isExecutingScript() const override final;
    86     void executeScriptsWaitingForStylesheets() override final;
    87     void suspendScheduledTasks() override final;
    88     void resumeScheduledTasks() override final;
     85    bool isExecutingScript() const final;
     86    void executeScriptsWaitingForStylesheets() final;
     87    void suspendScheduledTasks() final;
     88    void resumeScheduledTasks() final;
    8989
    90     bool shouldAssociateConsoleMessagesWithTextPosition() const override final;
     90    bool shouldAssociateConsoleMessagesWithTextPosition() const final;
    9191
    9292    // HTMLScriptRunnerHost
    93     void watchForLoad(CachedResource*) override final;
    94     void stopWatchingForLoad(CachedResource*) override final;
    95     HTMLInputStream& inputStream() override final;
    96     bool hasPreloadScanner() const override final;
    97     void appendCurrentInputStreamToPreloadScannerAndScan() override final;
     93    void watchForLoad(CachedResource*) final;
     94    void stopWatchingForLoad(CachedResource*) final;
     95    HTMLInputStream& inputStream() final;
     96    bool hasPreloadScanner() const final;
     97    void appendCurrentInputStreamToPreloadScannerAndScan() final;
    9898
    9999    // CachedResourceClient
    100     void notifyFinished(CachedResource*) override final;
     100    void notifyFinished(CachedResource*) final;
    101101
    102102    Document* contextForParsingSession();
  • trunk/Source/WebCore/html/shadow/ImageControlsRootElement.h

    r197563 r197566  
    4545
    4646private:
    47     bool isImageControlsRootElement() const override final { return true; }
     47    bool isImageControlsRootElement() const final { return true; }
    4848};
    4949
  • trunk/Source/WebCore/html/shadow/MediaControlElementTypes.h

    r197563 r197566  
    113113
    114114private:
    115     bool isMediaControlElement() const override final { return MediaControlElement::isMediaControlElement(); }
     115    bool isMediaControlElement() const final { return MediaControlElement::isMediaControlElement(); }
    116116};
    117117
     
    123123
    124124private:
    125     bool isMediaControlElement() const override final { return MediaControlElement::isMediaControlElement(); }
     125    bool isMediaControlElement() const final { return MediaControlElement::isMediaControlElement(); }
    126126    virtual void updateDisplayType() { }
    127127};
     
    171171
    172172private:
    173     void setActive(bool /*flag*/ = true, bool /*pause*/ = false) override final;
     173    void setActive(bool /*flag*/ = true, bool /*pause*/ = false) final;
    174174};
    175175
  • trunk/Source/WebCore/html/shadow/MediaControls.h

    r197563 r197566  
    143143
    144144private:
    145     bool isMediaControls() const override final { return true; }
     145    bool isMediaControls() const final { return true; }
    146146};
    147147
  • trunk/Source/WebCore/html/track/InbandTextTrack.h

    r197563 r197566  
    6363
    6464private:
    65     bool isInband() const override final { return true; }
     65    bool isInband() const final { return true; }
    6666    void idChanged(TrackPrivateBase*, const AtomicString&) override;
    6767    void labelChanged(TrackPrivateBase*, const AtomicString&) override;
  • trunk/Source/WebCore/html/track/TextTrack.h

    r197563 r197566  
    6464    virtual ~TextTrack();
    6565
    66     EventTargetInterface eventTargetInterface() const override final { return TextTrackEventTargetInterfaceType; }
    67     ScriptExecutionContext* scriptExecutionContext() const override final { return m_scriptExecutionContext; }
     66    EventTargetInterface eventTargetInterface() const final { return TextTrackEventTargetInterfaceType; }
     67    ScriptExecutionContext* scriptExecutionContext() const final { return m_scriptExecutionContext; }
    6868
    6969    static TextTrack* captionMenuOffItem();
     
    156156    bool enabled() const override;
    157157
    158     void refEventTarget() override final { ref(); }
    159     void derefEventTarget() override final { deref(); }
     158    void refEventTarget() final { ref(); }
     159    void derefEventTarget() final { deref(); }
    160160
    161161    VTTRegionList* ensureVTTRegionList();
  • trunk/Source/WebCore/html/track/TextTrackCue.h

    r197563 r197566  
    8686    virtual void setIsActive(bool);
    8787
    88     EventTargetInterface eventTargetInterface() const override final { return TextTrackCueEventTargetInterfaceType; }
    89     ScriptExecutionContext* scriptExecutionContext() const override final { return &m_scriptExecutionContext; }
     88    EventTargetInterface eventTargetInterface() const final { return TextTrackCueEventTargetInterfaceType; }
     89    ScriptExecutionContext* scriptExecutionContext() const final { return &m_scriptExecutionContext; }
    9090
    9191    virtual bool isOrderedBefore(const TextTrackCue*) const;
     
    123123private:
    124124
    125     void refEventTarget() override final { ref(); }
    126     void derefEventTarget() override final { deref(); }
     125    void refEventTarget() final { ref(); }
     126    void derefEventTarget() final { deref(); }
    127127
    128128    String m_id;
  • trunk/Source/WebCore/html/track/TrackListBase.h

    r197563 r197566  
    5555    using RefCounted<TrackListBase>::ref;
    5656    using RefCounted<TrackListBase>::deref;
    57     ScriptExecutionContext* scriptExecutionContext() const override final { return m_context; }
     57    ScriptExecutionContext* scriptExecutionContext() const final { return m_context; }
    5858
    5959    void clearElement() { m_element = 0; }
     
    7878
    7979    // EventTarget
    80     void refEventTarget() override final { ref(); }
    81     void derefEventTarget() override final { deref(); }
     80    void refEventTarget() final { ref(); }
     81    void derefEventTarget() final { deref(); }
    8282
    8383    ScriptExecutionContext* m_context;
  • trunk/Source/WebCore/html/track/VTTCue.h

    r197563 r197566  
    6565    VTTCueBox(Document&, VTTCue&);
    6666
    67     RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) override final;
     67    RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) final;
    6868
    6969    VTTCue& m_cue;
     
    167167
    168168    CueType cueType() const override { return WebVTT; }
    169     bool isRenderable() const override final { return true; }
     169    bool isRenderable() const final { return true; }
    170170
    171171    void didChange() override;
  • trunk/Source/WebCore/inspector/InspectorFrontendClientLocal.h

    r197563 r197566  
    6060    WEBCORE_EXPORT virtual ~InspectorFrontendClientLocal();
    6161
    62     WEBCORE_EXPORT void windowObjectCleared() override final;
     62    WEBCORE_EXPORT void windowObjectCleared() final;
    6363    WEBCORE_EXPORT void frontendLoaded() override;
    6464
    6565    void startWindowDrag() override { }
    66     WEBCORE_EXPORT void moveWindowBy(float x, float y) override final;
     66    WEBCORE_EXPORT void moveWindowBy(float x, float y) final;
    6767
    68     WEBCORE_EXPORT void requestSetDockSide(DockSide) override final;
    69     WEBCORE_EXPORT void changeAttachedWindowHeight(unsigned) override final;
    70     WEBCORE_EXPORT void changeAttachedWindowWidth(unsigned) override final;
    71     WEBCORE_EXPORT void openInNewTab(const String& url) override final;
     68    WEBCORE_EXPORT void requestSetDockSide(DockSide) final;
     69    WEBCORE_EXPORT void changeAttachedWindowHeight(unsigned) final;
     70    WEBCORE_EXPORT void changeAttachedWindowWidth(unsigned) final;
     71    WEBCORE_EXPORT void openInNewTab(const String& url) final;
    7272    bool canSave()  override { return false; }
    7373    void save(const String&, const String&, bool, bool) override { }
     
    7777    virtual void detachWindow() = 0;
    7878
    79     WEBCORE_EXPORT void sendMessageToBackend(const String& message) override final;
     79    WEBCORE_EXPORT void sendMessageToBackend(const String& message) final;
    8080
    81     WEBCORE_EXPORT bool isUnderTest() override final;
    82     WEBCORE_EXPORT unsigned inspectionLevel() const override final;
     81    WEBCORE_EXPORT bool isUnderTest() final;
     82    WEBCORE_EXPORT unsigned inspectionLevel() const final;
    8383
    8484    WEBCORE_EXPORT bool canAttachWindow();
  • trunk/Source/WebCore/inspector/WebConsoleAgent.h

    r197563 r197566  
    4343    virtual ~WebConsoleAgent() { }
    4444
    45     void setMonitoringXHREnabled(ErrorString&, bool enabled) override final;
     45    void setMonitoringXHREnabled(ErrorString&, bool enabled) final;
    4646
    4747    void frameWindowDiscarded(DOMWindow*);
  • trunk/Source/WebCore/loader/DocumentThreadableLoader.h

    r197563 r197566  
    9797        bool isAllowedByContentSecurityPolicy(const URL&);
    9898
    99         bool isXMLHttpRequest() const override final;
     99        bool isXMLHttpRequest() const final;
    100100
    101101        SecurityOrigin* securityOrigin() const;
  • trunk/Source/WebCore/page/DebugPageOverlays.cpp

    r197563 r197566  
    5555
    5656private:
    57     virtual void pageOverlayDestroyed(PageOverlay&) final;
    58     virtual void willMoveToPage(PageOverlay&, Page*) final;
    59     virtual void didMoveToPage(PageOverlay&, Page*) final;
    60     virtual void drawRect(PageOverlay&, GraphicsContext&, const IntRect& dirtyRect) final;
    61     virtual bool mouseEvent(PageOverlay&, const PlatformMouseEvent&) final;
    62     virtual void didScrollFrame(PageOverlay&, Frame&) final;
     57    void pageOverlayDestroyed(PageOverlay&) final;
     58    void willMoveToPage(PageOverlay&, Page*) final;
     59    void didMoveToPage(PageOverlay&, Page*) final;
     60    void drawRect(PageOverlay&, GraphicsContext&, const IntRect& dirtyRect) final;
     61    bool mouseEvent(PageOverlay&, const PlatformMouseEvent&) final;
     62    void didScrollFrame(PageOverlay&, Frame&) final;
    6363
    6464protected:
  • trunk/Source/WebCore/page/SuspendableTimer.h

    r197563 r197566  
    5959
    6060    // ActiveDOMObject API.
    61     bool hasPendingActivity() const override final;
    62     void stop() override final;
    63     bool canSuspendForDocumentSuspension() const override final;
    64     void suspend(ReasonForSuspension) override final;
    65     void resume() override final;
     61    bool hasPendingActivity() const final;
     62    void stop() final;
     63    bool canSuspendForDocumentSuspension() const final;
     64    void suspend(ReasonForSuspension) final;
     65    void resume() final;
    6666
    6767    bool m_suspended;
  • trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h

    r197563 r197566  
    130130    InbandTextTrackPrivateAVF* currentTextTrack() const override;
    131131
    132     long assetErrorCode() const override final;
     132    long assetErrorCode() const final;
    133133
    134134#if !HAVE(AVFOUNDATION_LEGIBLE_OUTPUT_SUPPORT)
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h

    r197023 r197566  
    8585
    8686    // MediaStreamTrackPrivate::Observer implementation.
    87     void trackEnded(MediaStreamTrackPrivate&) override final;
    88     void trackMutedChanged(MediaStreamTrackPrivate&) override final;
    89     void trackSettingsChanged(MediaStreamTrackPrivate&) override final;
    90     void trackEnabledChanged(MediaStreamTrackPrivate&) override final;
     87    void trackEnded(MediaStreamTrackPrivate&) final;
     88    void trackMutedChanged(MediaStreamTrackPrivate&) final;
     89    void trackSettingsChanged(MediaStreamTrackPrivate&) final;
     90    void trackEnabledChanged(MediaStreamTrackPrivate&) final;
    9191
    9292    static void getSupportedTypes(HashSet<String, ASCIICaseInsensitiveHash>&);
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.h

    r194496 r197566  
    4343    virtual ~TextureMapperPlatformLayerBuffer() = default;
    4444
    45     virtual void paintToTextureMapper(TextureMapper&, const FloatRect&, const TransformationMatrix& modelViewMatrix = TransformationMatrix(), float opacity = 1.0) final;
     45    void paintToTextureMapper(TextureMapper&, const FloatRect&, const TransformationMatrix& modelViewMatrix = TransformationMatrix(), float opacity = 1.0) final;
    4646
    4747    bool canReuseWithoutReset(const IntSize&, GC3Dint internalFormat);
  • trunk/Source/WebCore/platform/mac/HIDGamepad.h

    r197563 r197566  
    101101    void valueChanged(IOHIDValueRef);
    102102
    103     const Vector<double>& axisValues() const override final { return m_axisValues; }
    104     const Vector<double>& buttonValues() const override final { return m_buttonValues; }
     103    const Vector<double>& axisValues() const final { return m_axisValues; }
     104    const Vector<double>& buttonValues() const final { return m_buttonValues; }
    105105
    106106private:
  • trunk/Source/WebCore/platform/mac/ScrollAnimatorMac.h

    r197563 r197566  
    6464    void setVisibleScrollerThumbRect(const IntRect&);
    6565
    66     bool scrollbarsCanBeActive() const override final;
     66    bool scrollbarsCanBeActive() const final;
    6767
    6868private:
     
    111111    void mayBeginScrollGesture() const;
    112112
    113     void lockOverlayScrollbarStateToHidden(bool shouldLockState) override final;
     113    void lockOverlayScrollbarStateToHidden(bool shouldLockState) final;
    114114
    115115    void didAddVerticalScrollbar(Scrollbar*) override;
  • trunk/Source/WebCore/platform/mediastream/MediaStreamTrackPrivate.h

    r194371 r197566  
    101101
    102102    // RealtimeMediaSourceObserver
    103     void sourceStopped() override final;
    104     void sourceMutedChanged() override final;
    105     void sourceSettingsChanged() override final;
    106     bool preventSourceFromStopping() override final;
     103    void sourceStopped() final;
     104    void sourceMutedChanged() final;
     105    void sourceSettingsChanged() final;
     106    bool preventSourceFromStopping() final;
    107107
    108108    Vector<Observer*> m_observers;
  • trunk/Source/WebCore/platform/text/LocaleNone.cpp

    r197563 r197566  
    3535
    3636private:
    37     void initializeLocaleData() override final;
     37    void initializeLocaleData() final;
    3838#if ENABLE(DATE_AND_TIME_INPUT_TYPES)
    3939    String dateFormat() override;
  • trunk/Source/WebCore/platform/text/PlatformLocale.cpp

    r197563 r197566  
    5252private:
    5353    // DateTimeFormat::TokenHandler functions.
    54     void visitField(DateTimeFormat::FieldType, int) override final;
    55     void visitLiteral(const String&) override final;
     54    void visitField(DateTimeFormat::FieldType, int) final;
     55    void visitLiteral(const String&) final;
    5656
    5757    String zeroPadString(const String&, size_t width);
  • trunk/Source/WebCore/rendering/EllipsisBox.h

    r197563 r197566  
    3333    EllipsisBox(RenderBlockFlow&, const AtomicString& ellipsisStr, InlineFlowBox* parent, int width, int height, int y, bool firstLine, bool isVertical, InlineBox* markupBox);
    3434    void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
    35     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom, HitTestAction) override final;
     35    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom, HitTestAction) final;
    3636    void setSelectionState(RenderObject::SelectionState s) { m_selectionState = s; }
    3737    IntRect selectionRect();
  • trunk/Source/WebCore/rendering/FloatingObjects.cpp

    r197563 r197566  
    163163
    164164protected:
    165     bool updateOffsetIfNeeded(const FloatingObject&) override final;
     165    bool updateOffsetIfNeeded(const FloatingObject&) final;
    166166};
    167167
     
    177177
    178178protected:
    179     bool updateOffsetIfNeeded(const FloatingObject&) override final;
     179    bool updateOffsetIfNeeded(const FloatingObject&) final;
    180180};
    181181
  • trunk/Source/WebCore/rendering/InlineElementBox.h

    r197563 r197566  
    4545    RenderBoxModelObject& renderer() const { return downcast<RenderBoxModelObject>(InlineBox::renderer()); }
    4646
    47     void deleteLine() override final;
    48     void extractLine() override final;
    49     void attachLine() override final;
     47    void deleteLine() final;
     48    void extractLine() final;
     49    void attachLine() final;
    5050
    5151    void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
     
    5353
    5454private:
    55     bool isInlineElementBox() const override final { return true; }
     55    bool isInlineElementBox() const final { return true; }
    5656};
    5757
  • trunk/Source/WebCore/rendering/InlineFlowBox.h

    r197563 r197566  
    8888    InlineBox* lastChild() const { checkConsistency(); return m_lastChild; }
    8989
    90     bool isLeaf() const override final { return false; }
     90    bool isLeaf() const final { return false; }
    9191   
    9292    InlineBox* firstLeafChild() const;
     
    9696    void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRangeReverse customReverseImplementation = nullptr, void* userData = nullptr) const;
    9797
    98     void setConstructed() override final
     98    void setConstructed() final
    9999    {
    100100        InlineBox::setConstructed();
     
    104104
    105105    void addToLine(InlineBox* child);
    106     void deleteLine() override final;
    107     void extractLine() override final;
    108     void attachLine() override final;
     106    void deleteLine() final;
     107    void extractLine() final;
     108    void attachLine() final;
    109109    void adjustPosition(float dx, float dy) override;
    110110
     
    205205    RenderObject::SelectionState selectionState() override;
    206206
    207     bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const override final;
     207    bool canAccommodateEllipsis(bool ltr, int blockEdge, int ellipsisWidth) const final;
    208208    float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool&) override;
    209209
     
    304304
    305305private:
    306     bool isInlineFlowBox() const override final { return true; }
     306    bool isInlineFlowBox() const final { return true; }
    307307    void boxModelObject() const = delete;
    308308
  • trunk/Source/WebCore/rendering/InlineTextBox.h

    r197563 r197566  
    7474    unsigned short truncation() const { return m_truncation; }
    7575
    76     void markDirty(bool dirty = true) override final;
     76    void markDirty(bool dirty = true) final;
    7777
    7878    using InlineBox::hasHyphen;
     
    8989    static inline bool compareByStart(const InlineTextBox* first, const InlineTextBox* second) { return first->start() < second->start(); }
    9090
    91     int baselinePosition(FontBaseline) const override final;
    92     LayoutUnit lineHeight() const override final;
     91    int baselinePosition(FontBaseline) const final;
     92    LayoutUnit lineHeight() const final;
    9393
    9494    bool emphasisMarkExistsAndIsAbove(const RenderStyle&, bool& isAbove) const;
     
    104104
    105105#if ENABLE(TREE_DEBUGGING)
    106     void showLineBox(bool mark, int depth) const override final;
    107     const char* boxName() const override final;
     106    void showLineBox(bool mark, int depth) const final;
     107    const char* boxName() const final;
    108108#endif
    109109
     
    128128
    129129private:
    130     void deleteLine() override final;
    131     void extractLine() override final;
    132     void attachLine() override final;
     130    void deleteLine() final;
     131    void extractLine() final;
     132    void attachLine() final;
    133133
    134134public:
    135     RenderObject::SelectionState selectionState() override final;
     135    RenderObject::SelectionState selectionState() final;
    136136
    137137private:
    138     void clearTruncation() override final { m_truncation = cNoTruncation; }
    139     float placeEllipsisBox(bool flowIsLTR, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) override final;
     138    void clearTruncation() final { m_truncation = cNoTruncation; }
     139    float placeEllipsisBox(bool flowIsLTR, float visibleLeftEdge, float visibleRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) final;
    140140
    141141public:
    142     bool isLineBreak() const override final;
     142    bool isLineBreak() const final;
    143143
    144144private:
    145     bool isInlineTextBox() const override final { return true; }
     145    bool isInlineTextBox() const final { return true; }
    146146
    147147public:
    148     int caretMinOffset() const override final;
    149     int caretMaxOffset() const override final;
     148    int caretMinOffset() const final;
     149    int caretMaxOffset() const final;
    150150
    151151private:
  • trunk/Source/WebCore/rendering/RenderBlock.h

    r197563 r197566  
    6868public:
    6969    // These two functions are overridden for inline-block.
    70     LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override final;
     70    LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const final;
    7171    int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
    7272
     
    187187    bool paintsContinuationOutline(RenderInline*);
    188188
    189     RenderBoxModelObject* virtualContinuation() const override final { return continuation(); }
     189    RenderBoxModelObject* virtualContinuation() const final { return continuation(); }
    190190    bool isAnonymousBlockContinuation() const { return isAnonymousBlock() && continuation(); }
    191191    WEBCORE_EXPORT RenderInline* inlineElementContinuation() const;
     
    404404    const char* renderName() const override;
    405405
    406     bool isInlineBlockOrInlineTable() const override final { return isInline() && isReplaced(); }
     406    bool isInlineBlockOrInlineTable() const final { return isInline() && isReplaced(); }
    407407
    408408    void makeChildrenNonInline(RenderObject* insertionPoint = nullptr);
     
    448448    void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const;
    449449
    450     LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, LayoutUnit outlineWidth) const override final;
    451     const RenderStyle& outlineStyleForRepaint() const override final;
    452 
    453     RenderElement* hoverAncestor() const override final;
    454     void updateDragState(bool dragOn) override final;
    455     void childBecameNonInline(RenderElement&) override final;
    456 
    457     LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool /*clipToVisibleContent*/) override final
     450    LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, LayoutUnit outlineWidth) const final;
     451    const RenderStyle& outlineStyleForRepaint() const final;
     452
     453    RenderElement* hoverAncestor() const final;
     454    void updateDragState(bool dragOn) final;
     455    void childBecameNonInline(RenderElement&) final;
     456
     457    LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool /*clipToVisibleContent*/) final
    458458    {
    459459        return selectionGapRectsForRepaint(repaintContainer);
    460460    }
    461     bool shouldPaintSelectionGaps() const override final;
     461    bool shouldPaintSelectionGaps() const final;
    462462    bool isSelectionRoot() const;
    463463    GapRects selectionGaps(RenderBlock& rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock,
     
    480480    void paintContinuationOutlines(PaintInfo&, const LayoutPoint&);
    481481
    482     LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) override final;
     482    LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) final;
    483483   
    484484    // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to RenderBlockFlow
  • trunk/Source/WebCore/rendering/RenderBlockFlow.h

    r197563 r197566  
    7878
    7979    // RenderBlockFlows override these methods, since they are the only class that supports margin collapsing.
    80     LayoutUnit collapsedMarginBefore() const override final { return maxPositiveMarginBefore() - maxNegativeMarginBefore(); }
    81     LayoutUnit collapsedMarginAfter() const override final { return maxPositiveMarginAfter() - maxNegativeMarginAfter(); }
    82 
    83     void dirtyLinesFromChangedChild(RenderObject& child) override final { lineBoxes().dirtyLinesFromChangedChild(*this, child); }
     80    LayoutUnit collapsedMarginBefore() const final { return maxPositiveMarginBefore() - maxNegativeMarginBefore(); }
     81    LayoutUnit collapsedMarginAfter() const final { return maxPositiveMarginAfter() - maxNegativeMarginAfter(); }
     82
     83    void dirtyLinesFromChangedChild(RenderObject& child) final { lineBoxes().dirtyLinesFromChangedChild(*this, child); }
    8484    void updateLogicalHeight() override;
    8585
     
    259259    void setCollapsedBottomMargin(const MarginInfo&);
    260260
    261     bool childrenPreventSelfCollapsing() const override final;
     261    bool childrenPreventSelfCollapsing() const final;
    262262
    263263    bool shouldBreakAtLineToAvoidWidow() const { return hasRareBlockFlowData() && rareBlockFlowData()->m_lineBreakToAvoidWidow >= 0; }
     
    346346    RootInlineBox* lastRootBox() const { return downcast<RootInlineBox>(m_lineBoxes.lastLineBox()); }
    347347
    348     bool hasLines() const override final;
    349     void invalidateLineLayoutPath() override final;
     348    bool hasLines() const final;
     349    void invalidateLineLayoutPath() final;
    350350
    351351    enum LineLayoutPath { UndeterminedPath = 0, SimpleLinesPath, LineBoxesPath, ForceLineBoxesPath };
     
    485485
    486486    void moveAllChildrenIncludingFloatsTo(RenderBlock& toBlock, bool fullRemoveInsert) override;
    487     void repaintOverhangingFloats(bool paintAllDescendants) override final;
     487    void repaintOverhangingFloats(bool paintAllDescendants) final;
    488488    void clipOutFloatingObjects(RenderBlock&, const PaintInfo*, const LayoutPoint&, const LayoutSize&) override;
    489489
     
    601601    unsigned m_lineCountForTextAutosizing : 2;
    602602#endif
    603     void setSelectionState(SelectionState) override final;
     603    void setSelectionState(SelectionState) final;
    604604
    605605public:
  • trunk/Source/WebCore/rendering/RenderBox.h

    r197563 r197566  
    5959    }
    6060
    61     bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const override final;
     61    bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const final;
    6262
    6363    // Use this with caution! No type checking is done!
     
    154154    LayoutRect borderBoxRect() const { return LayoutRect(LayoutPoint(), size()); }
    155155    LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + paddingLeft() + paddingRight(), contentHeight() + paddingTop() + paddingBottom()); }
    156     IntRect borderBoundingBox() const override final { return enclosingIntRect(borderBoxRect()); }
     156    IntRect borderBoundingBox() const final { return enclosingIntRect(borderBoxRect()); }
    157157
    158158    WEBCORE_EXPORT RoundedRect::Radii borderRadii() const;
     
    170170
    171171    // Bounds of the outline box in absolute coords. Respects transforms
    172     LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* /*repaintContainer*/, const RenderGeometryMap*) const override final;
     172    LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* /*repaintContainer*/, const RenderGeometryMap*) const final;
    173173    void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = nullptr) override;
    174174   
     
    255255    LayoutUnit marginLogicalRight() const { return m_marginBox.end(style().writingMode()); }
    256256   
    257     LayoutUnit marginBefore(const RenderStyle* overrideStyle = nullptr) const override final { return m_marginBox.before((overrideStyle ? overrideStyle : &style())->writingMode()); }
    258     LayoutUnit marginAfter(const RenderStyle* overrideStyle = nullptr) const override final { return m_marginBox.after((overrideStyle ? overrideStyle : &style())->writingMode()); }
    259     LayoutUnit marginStart(const RenderStyle* overrideStyle = nullptr) const override final
     257    LayoutUnit marginBefore(const RenderStyle* overrideStyle = nullptr) const final { return m_marginBox.before((overrideStyle ? overrideStyle : &style())->writingMode()); }
     258    LayoutUnit marginAfter(const RenderStyle* overrideStyle = nullptr) const final { return m_marginBox.after((overrideStyle ? overrideStyle : &style())->writingMode()); }
     259    LayoutUnit marginStart(const RenderStyle* overrideStyle = nullptr) const final
    260260    {
    261261        const RenderStyle* styleToUse = overrideStyle ? overrideStyle : &style();
    262262        return m_marginBox.start(styleToUse->writingMode(), styleToUse->direction());
    263263    }
    264     LayoutUnit marginEnd(const RenderStyle* overrideStyle = nullptr) const override final
     264    LayoutUnit marginEnd(const RenderStyle* overrideStyle = nullptr) const final
    265265    {
    266266        const RenderStyle* styleToUse = overrideStyle ? overrideStyle : &style();
     
    723723    virtual void computePreferredLogicalWidths() { setPreferredLogicalWidthsDirty(false); }
    724724
    725     LayoutRect frameRectForStickyPositioning() const override final { return frameRect(); }
     725    LayoutRect frameRectForStickyPositioning() const final { return frameRect(); }
    726726   
    727727    void applyTopLeftLocationOffsetWithFlipping(LayoutPoint&) const;
  • trunk/Source/WebCore/rendering/RenderElement.h

    r197563 r197566  
    287287    void isRenderElement() const = delete;
    288288
    289     RenderObject* firstChildSlow() const override final { return firstChild(); }
    290     RenderObject* lastChildSlow() const override final { return lastChild(); }
     289    RenderObject* firstChildSlow() const final { return firstChild(); }
     290    RenderObject* lastChildSlow() const final { return lastChild(); }
    291291
    292292    // Called when an object that was floating or positioned becomes a normal flow object
     
    308308    RenderStyle* cachedFirstLineStyle() const;
    309309
    310     void newImageAnimationFrameAvailable(CachedImage&) final override;
     310    void newImageAnimationFrameAvailable(CachedImage&) final;
    311311
    312312    bool getLeadingCorner(FloatPoint& output) const;
  • trunk/Source/WebCore/rendering/RenderEmbeddedObject.h

    r197563 r197566  
    6262
    6363protected:
    64     void paintReplaced(PaintInfo&, const LayoutPoint&) override final;
     64    void paintReplaced(PaintInfo&, const LayoutPoint&) final;
    6565    void paint(PaintInfo&, const LayoutPoint&) override;
    6666
     
    7272private:
    7373    const char* renderName() const override { return "RenderEmbeddedObject"; }
    74     bool isEmbeddedObject() const override final { return true; }
     74    bool isEmbeddedObject() const final { return true; }
    7575
    7676    void paintSnapshotImage(PaintInfo&, const LayoutPoint&, Image&);
    77     void paintContents(PaintInfo&, const LayoutPoint&) override final;
     77    void paintContents(PaintInfo&, const LayoutPoint&) final;
    7878
    79     bool requiresLayer() const override final;
     79    bool requiresLayer() const final;
    8080
    81     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override final;
     81    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final;
    8282
    83     bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = nullptr, RenderBox* startBox = nullptr, const IntPoint& wheelEventAbsolutePoint = IntPoint()) override final;
    84     bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier, Element** stopElement) override final;
     83    bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = nullptr, RenderBox* startBox = nullptr, const IntPoint& wheelEventAbsolutePoint = IntPoint()) final;
     84    bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier, Element** stopElement) final;
    8585
    8686    void setUnavailablePluginIndicatorIsPressed(bool);
     
    9090    LayoutRect unavailablePluginIndicatorBounds(const LayoutPoint&) const;
    9191
    92     bool canHaveChildren() const override final;
     92    bool canHaveChildren() const final;
    9393    virtual bool canHaveWidget() const { return true; }
    9494
  • trunk/Source/WebCore/rendering/RenderFlexibleBox.h

    r197563 r197566  
    4545    const char* renderName() const override;
    4646
    47     bool avoidsFloats() const override final { return true; }
    48     bool canDropAnonymousBlockChild() const override final { return false; }
    49     void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) override final;
     47    bool avoidsFloats() const final { return true; }
     48    bool canDropAnonymousBlockChild() const final { return false; }
     49    void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight = 0) final;
    5050
    5151    int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
     
    8686    typedef Vector<LayoutRect, 8> ChildFrameRects;
    8787
    88     bool isFlexibleBox() const override final { return true; }
     88    bool isFlexibleBox() const final { return true; }
    8989    bool hasOrthogonalFlow(RenderBox& child) const;
    9090    bool isColumnFlow() const;
  • trunk/Source/WebCore/rendering/RenderFlowThread.h

    r197563 r197566  
    7777    const RenderRegionList& renderRegionList() const { return m_regionList; }
    7878
    79     void updateLogicalWidth() override final;
     79    void updateLogicalWidth() final;
    8080    void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
    8181
     
    238238    // Always create a RenderLayer for the RenderFlowThread so that we
    239239    // can easily avoid drawing the children directly.
    240     bool requiresLayer() const override final { return true; }
     240    bool requiresLayer() const final { return true; }
    241241
    242242protected:
  • trunk/Source/WebCore/rendering/RenderImage.h

    r197563 r197566  
    7373
    7474protected:
    75     bool needsPreferredWidthsRecalculation() const override final;
    76     RenderBox* embeddedContentBox() const override final;
    77     void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const override final;
     75    bool needsPreferredWidthsRecalculation() const final;
     76    RenderBox* embeddedContentBox() const final;
     77    void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const final;
    7878    bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const override;
    7979
     
    8383
    8484    void paintIntoRect(GraphicsContext&, const FloatRect&);
    85     void paint(PaintInfo&, const LayoutPoint&) override final;
     85    void paint(PaintInfo&, const LayoutPoint&) final;
    8686    void layout() override;
    8787
     
    9797
    9898    bool isImage() const override { return true; }
    99     bool isRenderImage() const override final { return true; }
     99    bool isRenderImage() const final { return true; }
    100100
    101101    void paintReplaced(PaintInfo&, const LayoutPoint&) override;
    102102
    103     bool computeBackgroundIsKnownToBeObscured(const LayoutPoint& paintOffset) override final;
     103    bool computeBackgroundIsKnownToBeObscured(const LayoutPoint& paintOffset) final;
    104104
    105105    LayoutUnit minimumReplacedHeight() const override;
    106106
    107     void notifyFinished(CachedResource*) override final;
    108     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override final;
     107    void notifyFinished(CachedResource*) final;
     108    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final;
    109109
    110     bool boxShadowShouldBeAppliedToBackground(const LayoutPoint& paintOffset, BackgroundBleedAvoidance, InlineFlowBox*) const override final;
     110    bool boxShadowShouldBeAppliedToBackground(const LayoutPoint& paintOffset, BackgroundBleedAvoidance, InlineFlowBox*) const final;
    111111
    112112    virtual bool shadowControlsNeedCustomLayoutMetrics() const { return false; }
  • trunk/Source/WebCore/rendering/RenderInline.h

    r197563 r197566  
    4040    void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) override;
    4141
    42     LayoutUnit marginLeft() const override final;
    43     LayoutUnit marginRight() const override final;
    44     LayoutUnit marginTop() const override final;
    45     LayoutUnit marginBottom() const override final;
    46     LayoutUnit marginBefore(const RenderStyle* otherStyle = 0) const override final;
    47     LayoutUnit marginAfter(const RenderStyle* otherStyle = 0) const override final;
    48     LayoutUnit marginStart(const RenderStyle* otherStyle = 0) const override final;
    49     LayoutUnit marginEnd(const RenderStyle* otherStyle = 0) const override final;
     42    LayoutUnit marginLeft() const final;
     43    LayoutUnit marginRight() const final;
     44    LayoutUnit marginTop() const final;
     45    LayoutUnit marginBottom() const final;
     46    LayoutUnit marginBefore(const RenderStyle* otherStyle = 0) const final;
     47    LayoutUnit marginAfter(const RenderStyle* otherStyle = 0) const final;
     48    LayoutUnit marginStart(const RenderStyle* otherStyle = 0) const final;
     49    LayoutUnit marginEnd(const RenderStyle* otherStyle = 0) const final;
    5050
    51     void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const override final;
     51    void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const final;
    5252    void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override;
    5353
    54     LayoutSize offsetFromContainer(RenderElement&, const LayoutPoint&, bool* offsetDependsOnPoint = nullptr) const override final;
     54    LayoutSize offsetFromContainer(RenderElement&, const LayoutPoint&, bool* offsetDependsOnPoint = nullptr) const final;
    5555
    56     IntRect borderBoundingBox() const override final
     56    IntRect borderBoundingBox() const final
    5757    {
    5858        IntRect boundingBox = linesBoundingBox();
     
    8181#endif
    8282
    83     RenderBoxModelObject* virtualContinuation() const override final { return continuation(); }
     83    RenderBoxModelObject* virtualContinuation() const final { return continuation(); }
    8484    RenderInline* inlineElementContinuation() const;
    8585
    86     void updateDragState(bool dragOn) override final;
     86    void updateDragState(bool dragOn) final;
    8787   
    8888    LayoutSize offsetForInFlowPositionedInline(const RenderBox* child) const;
    8989
    90     void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) override final;
     90    void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) final;
    9191    void paintOutline(PaintInfo&, const LayoutPoint&);
    9292
     
    9898    void updateAlwaysCreateLineBoxes(bool fullLayout);
    9999
    100     LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine) override final;
     100    LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToEndOfLine) final;
    101101
    102102    bool hitTestCulledInline(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset);
     
    113113    const char* renderName() const override;
    114114
    115     bool canHaveChildren() const override final { return true; }
     115    bool canHaveChildren() const final { return true; }
    116116
    117117    LayoutRect culledInlineVisualOverflowBoundingBox() const;
     
    125125
    126126    void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild);
    127     void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = nullptr) override final;
     127    void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = nullptr) final;
    128128
    129129    void splitInlines(RenderBlock* fromBlock, RenderBlock* toBlock, RenderBlock* middleBlock,
     
    132132                   RenderObject* newChild, RenderBoxModelObject* oldCont);
    133133
    134     void layout() override final { ASSERT_NOT_REACHED(); } // Do nothing for layout()
     134    void layout() final { ASSERT_NOT_REACHED(); } // Do nothing for layout()
    135135
    136     void paint(PaintInfo&, const LayoutPoint&) override final;
     136    void paint(PaintInfo&, const LayoutPoint&) final;
    137137
    138     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override final;
     138    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) final;
    139139
    140140    bool requiresLayer() const override { return isInFlowPositioned() || createsGroup() || hasClipPath() || willChangeCreatesStackingContext(); }
    141141
    142     LayoutUnit offsetLeft() const override final;
    143     LayoutUnit offsetTop() const override final;
    144     LayoutUnit offsetWidth() const override final { return linesBoundingBox().width(); }
    145     LayoutUnit offsetHeight() const override final { return linesBoundingBox().height(); }
     142    LayoutUnit offsetLeft() const final;
     143    LayoutUnit offsetTop() const final;
     144    LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); }
     145    LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); }
    146146
    147147    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override;
    148     LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, LayoutUnit outlineWidth) const override final;
    149     LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelObject* repaintContainer, bool fixed) const override final;
     148    LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintContainer, LayoutUnit outlineWidth) const final;
     149    LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelObject* repaintContainer, bool fixed) const final;
    150150
    151151    void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags, bool* wasFixed) const override;
    152152    const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override;
    153153
    154     VisiblePosition positionForPoint(const LayoutPoint&, const RenderRegion*) override final;
     154    VisiblePosition positionForPoint(const LayoutPoint&, const RenderRegion*) final;
    155155
    156     LayoutRect frameRectForStickyPositioning() const override final { return linesBoundingBox(); }
     156    LayoutRect frameRectForStickyPositioning() const final { return linesBoundingBox(); }
    157157
    158158    virtual std::unique_ptr<InlineFlowBox> createInlineFlowBox(); // Subclassed by RenderSVGInline
    159159
    160     void dirtyLinesFromChangedChild(RenderObject& child) override final { m_lineBoxes.dirtyLinesFromChangedChild(*this, child); }
     160    void dirtyLinesFromChangedChild(RenderObject& child) final { m_lineBoxes.dirtyLinesFromChangedChild(*this, child); }
    161161
    162     LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override final;
    163     int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override final;
     162    LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const final;
     163    int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const final;
    164164   
    165     void childBecameNonInline(RenderElement&) override final;
     165    void childBecameNonInline(RenderElement&) final;
    166166
    167     void updateHitTestResult(HitTestResult&, const LayoutPoint&) override final;
     167    void updateHitTestResult(HitTestResult&, const LayoutPoint&) final;
    168168
    169     void imageChanged(WrappedImagePtr, const IntRect* = 0) override final;
     169    void imageChanged(WrappedImagePtr, const IntRect* = 0) final;
    170170
    171171#if ENABLE(DASHBOARD_SUPPORT)
    172     void addAnnotatedRegions(Vector<AnnotatedRegionValue>&) override final;
     172    void addAnnotatedRegions(Vector<AnnotatedRegionValue>&) final;
    173173#endif
    174174   
  • trunk/Source/WebCore/rendering/RenderMedia.h

    r197563 r197566  
    4848    void element() const = delete;
    4949
    50     bool canHaveChildren() const override final { return true; }
     50    bool canHaveChildren() const final { return true; }
    5151
    5252    const char* renderName() const override { return "RenderMedia"; }
    53     bool isMedia() const override final { return true; }
    54     bool isImage() const override final { return false; }
     53    bool isMedia() const final { return true; }
     54    bool isImage() const final { return false; }
    5555    void paintReplaced(PaintInfo&, const LayoutPoint&) override;
    5656
    57     bool requiresForcedStyleRecalcPropagation() const override final { return true; }
     57    bool requiresForcedStyleRecalcPropagation() const final { return true; }
    5858
    5959    bool shadowControlsNeedCustomLayoutMetrics() const override { return true; }
    60     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
     60    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
    6161};
    6262
  • trunk/Source/WebCore/rendering/RenderRegion.h

    r197563 r197566  
    147147
    148148private:
    149     bool isRenderRegion() const override final { return true; }
     149    bool isRenderRegion() const final { return true; }
    150150    const char* renderName() const override { return "RenderRegion"; }
    151151
  • trunk/Source/WebCore/rendering/RenderRegionSet.h

    r197563 r197566  
    5454
    5555private:
    56     void installFlowThread() override final;
     56    void installFlowThread() final;
    5757
    5858    const char* renderName() const override = 0;
    5959   
    60     bool isRenderRegionSet() const override final { return true; }
     60    bool isRenderRegionSet() const final { return true; }
    6161};
    6262
  • trunk/Source/WebCore/rendering/RenderReplaced.h

    r197563 r197566  
    4646    void layout() override;
    4747
    48     LayoutSize intrinsicSize() const override final { return m_intrinsicSize; }
     48    LayoutSize intrinsicSize() const final { return m_intrinsicSize; }
    4949    void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const override;
    5050
    51     void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override final;
     51    void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const final;
    5252
    5353    virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); }
     
    7575    bool canHaveChildren() const override { return false; }
    7676
    77     void computePreferredLogicalWidths() override final;
     77    void computePreferredLogicalWidths() final;
    7878    virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { }
    7979
    8080    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override;
    8181
    82     VisiblePosition positionForPoint(const LayoutPoint&, const RenderRegion*) override final;
     82    VisiblePosition positionForPoint(const LayoutPoint&, const RenderRegion*) final;
    8383   
    8484    bool canBeSelectionLeaf() const override { return true; }
    8585
    86     LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent = true) override final;
     86    LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent = true) final;
    8787    void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constrainedSize, double& intrinsicRatio) const;
    8888
  • trunk/Source/WebCore/rendering/RenderRuby.h

    r197563 r197566  
    6464
    6565private:
    66     bool isRubyInline() const override final { return true; }
     66    bool isRubyInline() const final { return true; }
    6767    const char* renderName() const override { return "RenderRuby (inline)"; }
    6868    bool createsAnonymousWrapper() const override { return true; }
     
    8484
    8585private:
    86     bool isRubyBlock() const override final { return true; }
     86    bool isRubyBlock() const final { return true; }
    8787    const char* renderName() const override { return "RenderRuby (block)"; }
    8888    bool createsAnonymousWrapper() const override { return true; }
  • trunk/Source/WebCore/rendering/RenderTable.h

    r197563 r197566  
    128128    void recalcBordersInRowDirection();
    129129
    130     void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
     130    void addChild(RenderObject* child, RenderObject* beforeChild = 0) final;
    131131
    132132    struct ColumnStruct {
     
    271271    LayoutUnit offsetHeightForColumn(const RenderTableCol&) const;
    272272   
    273     void markForPaginationRelayoutIfNeeded() override final;
     273    void markForPaginationRelayoutIfNeeded() final;
    274274   
    275275protected:
    276     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
    277     void simplifiedNormalFlowLayout() override final;
     276    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
     277    void simplifiedNormalFlowLayout() final;
    278278
    279279private:
    280280    const char* renderName() const override { return "RenderTable"; }
    281281
    282     bool isTable() const override final { return true; }
    283 
    284     bool avoidsFloats() const override final { return true; }
    285 
    286     void paint(PaintInfo&, const LayoutPoint&) override final;
    287     void paintObject(PaintInfo&, const LayoutPoint&) override final;
    288     void paintBoxDecorations(PaintInfo&, const LayoutPoint&) override final;
    289     void paintMask(PaintInfo&, const LayoutPoint&) override final;
    290     void layout() override final;
    291     void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) const override final;
     282    bool isTable() const final { return true; }
     283
     284    bool avoidsFloats() const final { return true; }
     285
     286    void paint(PaintInfo&, const LayoutPoint&) final;
     287    void paintObject(PaintInfo&, const LayoutPoint&) final;
     288    void paintBoxDecorations(PaintInfo&, const LayoutPoint&) final;
     289    void paintMask(PaintInfo&, const LayoutPoint&) final;
     290    void layout() final;
     291    void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) const final;
    292292    void computePreferredLogicalWidths() override;
    293293    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
    294294
    295     int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override final;
     295    int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const final;
    296296    Optional<int> firstLineBaseline() const override;
    297     Optional<int> inlineBlockBaseline(LineDirectionMode) const override final;
     297    Optional<int> inlineBlockBaseline(LineDirectionMode) const final;
    298298
    299299    RenderTableCol* slowColElement(unsigned col, bool* startEdge, bool* endEdge) const;
     
    304304    void invalidateCachedColumnOffsets();
    305305
    306     RenderBlock* firstLineBlock() const override final;
    307     void updateFirstLetter() override final;
    308    
    309     void updateLogicalWidth() override final;
     306    RenderBlock* firstLineBlock() const final;
     307    void updateFirstLetter() final;
     308   
     309    void updateLogicalWidth() final;
    310310
    311311    LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogicalWidth, LayoutUnit availableWidth);
    312312    LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogicalHeight);
    313313
    314     LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegion*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize, PaintPhase = PaintPhaseBlockBackground) override final;
     314    LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegion*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize, PaintPhase = PaintPhaseBlockBackground) final;
    315315    LayoutRect overflowClipRectForChildLayers(const LayoutPoint& location, RenderRegion* region, OverlayScrollbarSizeRelevancy relevancy) override { return RenderBox::overflowClipRect(location, region, relevancy); }
    316316
    317     void addOverflowFromChildren() override final;
     317    void addOverflowFromChildren() final;
    318318
    319319    void subtractCaptionRect(LayoutRect&) const;
  • trunk/Source/WebCore/rendering/RenderText.h

    r197563 r197566  
    6969    void dirtyLineBoxes(bool fullLayout);
    7070
    71     void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const override final;
     71    void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const final;
    7272    Vector<IntRect> absoluteRectsForRange(unsigned startOffset = 0, unsigned endOffset = UINT_MAX, bool useSelectionHeight = false, bool* wasFixed = nullptr) const;
    7373#if PLATFORM(IOS)
     
    7575#endif
    7676
    77     void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
     77    void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final;
    7878    Vector<FloatQuad> absoluteQuadsForRange(unsigned startOffset = 0, unsigned endOffset = UINT_MAX, bool useSelectionHeight = false, bool* wasFixed = nullptr) const;
    7979
     
    117117
    118118    bool canBeSelectionLeaf() const override { return true; }
    119     void setSelectionState(SelectionState) override final;
     119    void setSelectionState(SelectionState) final;
    120120    LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent = true) override;
    121121    LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) override;
     
    126126    LayoutUnit marginRight() const { return minimumValueForLength(style().marginRight(), 0); }
    127127
    128     LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override final;
     128    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const final;
    129129
    130130    InlineTextBox* firstTextBox() const { return m_lineBoxes.first(); }
     
    138138    bool hasRenderedText() const;
    139139
    140     int previousOffset(int current) const override final;
    141     int previousOffsetForBackwardDeletion(int current) const override final;
    142     int nextOffset(int current) const override final;
     140    int previousOffset(int current) const final;
     141    int previousOffsetForBackwardDeletion(int current) const final;
     142    int nextOffset(int current) const final;
    143143
    144144    bool containsReversedText() const { return m_containsReversedText; }
     
    181181    RenderText(Node&, const String&);
    182182
    183     bool canHaveChildren() const override final { return false; }
     183    bool canHaveChildren() const final { return false; }
    184184
    185185    void computePreferredLogicalWidths(float leadWidth, HashSet<const Font*>& fallbackFonts, GlyphOverflow&);
     
    190190    // will use the more efficient textLength() instead, while
    191191    // callers with a RenderObject* can continue to use length().
    192     unsigned length() const override final { return textLength(); }
    193 
    194     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation&, const LayoutPoint&, HitTestAction) override final { ASSERT_NOT_REACHED(); return false; }
     192    unsigned length() const final { return textLength(); }
     193
     194    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation&, const LayoutPoint&, HitTestAction) final { ASSERT_NOT_REACHED(); return false; }
    195195
    196196    bool containsOnlyWhitespace(unsigned from, unsigned len) const;
  • trunk/Source/WebCore/rendering/RenderTextControl.h

    r197563 r197566  
    7272
    7373    const char* renderName() const override { return "RenderTextControl"; }
    74     bool isTextControl() const override final { return true; }
     74    bool isTextControl() const final { return true; }
    7575    void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
    7676    void computePreferredLogicalWidths() override;
  • trunk/Source/WebCore/rendering/RenderTextControlSingleLine.h

    r197563 r197566  
    4949    bool hasControlClip() const override;
    5050    LayoutRect controlClipRect(const LayoutPoint&) const override;
    51     bool isTextField() const override final { return true; }
     51    bool isTextField() const final { return true; }
    5252
    5353    void layout() override;
     
    6464    void setScrollLeft(int) override;
    6565    void setScrollTop(int) override;
    66     bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = nullptr, RenderBox* startBox = nullptr, const IntPoint& wheelEventAbsolutePoint = IntPoint()) override final;
    67     bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = 0) override final;
     66    bool scroll(ScrollDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = nullptr, RenderBox* startBox = nullptr, const IntPoint& wheelEventAbsolutePoint = IntPoint()) final;
     67    bool logicalScroll(ScrollLogicalDirection, ScrollGranularity, float multiplier = 1, Element** stopElement = 0) final;
    6868
    6969    int textBlockWidth() const;
  • trunk/Source/WebCore/rendering/RenderWidget.h

    r197563 r197566  
    8282    RenderWidget(HTMLFrameOwnerElement&, Ref<RenderStyle>&&);
    8383
    84     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
     84    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
    8585    void layout() override;
    8686    void paint(PaintInfo&, const LayoutPoint&) override;
     
    9292    void element() const = delete;
    9393
    94     bool isWidget() const override final { return true; }
     94    bool isWidget() const final { return true; }
    9595
    96     bool needsPreferredWidthsRecalculation() const override final;
    97     RenderBox* embeddedContentBox() const override final;
     96    bool needsPreferredWidthsRecalculation() const final;
     97    RenderBox* embeddedContentBox() const final;
    9898
    99     void willBeDestroyed() override final;
    100     void setSelectionState(SelectionState) override final;
    101     void setOverlapTestResult(bool) override final;
     99    void willBeDestroyed() final;
     100    void setSelectionState(SelectionState) final;
     101    void setOverlapTestResult(bool) final;
    102102
    103103    bool setWidgetGeometry(const LayoutRect&);
  • trunk/Source/WebCore/rendering/RootInlineBox.h

    r197563 r197566  
    4848    RootInlineBox* prevRootBox() const;
    4949
    50     void adjustPosition(float dx, float dy) override final;
     50    void adjustPosition(float dx, float dy) final;
    5151
    5252    LayoutUnit lineTop() const { return m_lineTop; }
     
    105105    float placeEllipsis(const AtomicString& ellipsisStr, bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, InlineBox* markupBox = nullptr);
    106106    // Return the position of the EllipsisBox or -1.
    107     float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) override final;
     107    float placeEllipsisBox(bool ltr, float blockLeftEdge, float blockRightEdge, float ellipsisWidth, float &truncatedWidth, bool& foundBox) final;
    108108
    109109    using InlineBox::hasEllipsisBox;
     
    112112    void paintEllipsisBox(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) const;
    113113
    114     void clearTruncation() override final;
     114    void clearTruncation() final;
    115115
    116116    bool isHyphenated() const;
    117117
    118     int baselinePosition(FontBaseline baselineType) const override final;
    119     LayoutUnit lineHeight() const override final;
     118    int baselinePosition(FontBaseline baselineType) const final;
     119    LayoutUnit lineHeight() const final;
    120120
    121121    void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
     
    125125    using InlineBox::setHasSelectedChildren;
    126126
    127     RenderObject::SelectionState selectionState() override final;
     127    RenderObject::SelectionState selectionState() final;
    128128    InlineBox* firstSelectedBox();
    129129    InlineBox* lastSelectedBox();
     
    155155    Vector<RenderBox*>* floatsPtr() { ASSERT(!isDirty()); return m_floats.get(); }
    156156
    157     void extractLineBoxFromRenderObject() override final;
    158     void attachLineBoxToRenderObject() override final;
    159     void removeLineBoxFromRenderObject() override final;
     157    void extractLineBoxFromRenderObject() final;
     158    void attachLineBoxToRenderObject() final;
     159    void removeLineBoxFromRenderObject() final;
    160160   
    161161    FontBaseline baselineType() const { return static_cast<FontBaseline>(m_baselineType); }
     
    192192
    193193#if ENABLE(TREE_DEBUGGING)
    194     const char* boxName() const override final;
     194    const char* boxName() const final;
    195195#endif
    196196private:
    197     bool isRootInlineBox() const override final { return true; }
     197    bool isRootInlineBox() const final { return true; }
    198198
    199199    bool includeLeadingForBox(InlineBox&) const;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.h

    r197563 r197566  
    6666   
    6767private:
    68     bool isRenderMathMLBlock() const override final { return true; }
     68    bool isRenderMathMLBlock() const final { return true; }
    6969    const char* renderName() const override;
    7070    bool isFlexibleBoxImpl() const override { return true; }
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h

    r197563 r197566  
    5353    bool isVertical() const { return m_isVertical; }
    5454
    55     void updateStyle() override final;
     55    void updateStyle() final;
    5656
    5757    void paint(PaintInfo&, const LayoutPoint&) override;
    5858
    5959    void updateTokenContent(const String& operatorString);
    60     void updateTokenContent() override final;
     60    void updateTokenContent() final;
    6161    void updateOperatorProperties();
    6262    void setOperatorFlagAndScheduleLayoutIfNeeded(MathMLOperatorDictionary::Flag, const AtomicString& attributeValue);
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.h

    r197563 r197566  
    5959
    6060private:
    61     bool isRenderMathMLRoot() const override final { return true; }
     61    bool isRenderMathMLRoot() const final { return true; }
    6262    const char* renderName() const override { return "RenderMathMLRoot"; }
    6363    Optional<int> firstLineBaseline() const override;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h

    r197563 r197566  
    4747
    4848private:
    49     bool isRenderMathMLRow() const override final { return true; }
     49    bool isRenderMathMLRow() const final { return true; }
    5050    const char* renderName() const override { return isAnonymous() ? "RenderMathMLRow (anonymous)" : "RenderMathMLRow"; }
    5151};
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.h

    r197563 r197566  
    5959
    6060    const char* renderName() const override { return m_kind == Base ? "Base Wrapper" : "SubSupPair Wrapper"; }
    61     bool isRenderMathMLScriptsWrapper() const override final { return true; }
     61    bool isRenderMathMLScriptsWrapper() const final { return true; }
    6262
    6363    RenderMathMLScripts* parentMathMLScripts();
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h

    r197563 r197566  
    5151
    5252private:
    53     bool isRenderMathMLToken() const override final { return true; }
     53    bool isRenderMathMLToken() const final { return true; }
    5454    const char* renderName() const override { return isAnonymous() ? "RenderMathMLToken (anonymous)" : "RenderMathMLToken"; }
    5555    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
  • trunk/Source/WebCore/rendering/svg/RenderSVGBlock.h

    r197563 r197566  
    3131class RenderSVGBlock : public RenderBlockFlow {
    3232public:
    33     LayoutRect visualOverflowRect() const override final;
     33    LayoutRect visualOverflowRect() const final;
    3434
    3535    SVGGraphicsElement& graphicsElement() const { return downcast<SVGGraphicsElement>(nodeForNonAnonymous()); }
     
    4242    void element() const = delete;
    4343
    44     void updateFromStyle() override final;
     44    void updateFromStyle() final;
    4545
    46     bool isRenderSVGBlock() const override final { return true; }
     46    bool isRenderSVGBlock() const final { return true; }
    4747
    4848    void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const override;
    4949
    50     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
     50    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
    5151};
    5252
  • trunk/Source/WebCore/rendering/svg/RenderSVGContainer.h

    r197563 r197566  
    3535
    3636    void paint(PaintInfo&, const LayoutPoint&) override;
    37     void setNeedsBoundariesUpdate() override final { m_needsBoundariesUpdate = true; }
    38     bool needsBoundariesUpdate() override final { return m_needsBoundariesUpdate; }
     37    void setNeedsBoundariesUpdate() final { m_needsBoundariesUpdate = true; }
     38    bool needsBoundariesUpdate() final { return m_needsBoundariesUpdate; }
    3939    virtual bool didTransformToRootUpdate() { return false; }
    4040    bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; }
     
    4545    const char* renderName() const override { return "RenderSVGContainer"; }
    4646
    47     bool canHaveChildren() const override final { return true; }
     47    bool canHaveChildren() const final { return true; }
    4848
    4949    void layout() override;
    5050
    51     void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
    52     void removeChild(RenderObject&) override final;
    53     void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) override final;
     51    void addChild(RenderObject* child, RenderObject* beforeChild = 0) final;
     52    void removeChild(RenderObject&) final;
     53    void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) final;
    5454
    55     FloatRect objectBoundingBox() const override final { return m_objectBoundingBox; }
    56     FloatRect strokeBoundingBox() const override final { return m_strokeBoundingBox; }
    57     FloatRect repaintRectInLocalCoordinates() const override final { return m_repaintBoundingBox; }
     55    FloatRect objectBoundingBox() const final { return m_objectBoundingBox; }
     56    FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; }
     57    FloatRect repaintRectInLocalCoordinates() const final { return m_repaintBoundingBox; }
    5858
    5959    bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;
     
    7373
    7474private:
    75     bool isSVGContainer() const override final { return true; }
     75    bool isSVGContainer() const final { return true; }
    7676
    7777    FloatRect m_objectBoundingBox;
  • trunk/Source/WebCore/rendering/svg/RenderSVGHiddenContainer.h

    r197563 r197566  
    3737
    3838private:
    39     bool isSVGHiddenContainer() const override final { return true; }
     39    bool isSVGHiddenContainer() const final { return true; }
    4040    const char* renderName() const override { return "RenderSVGHiddenContainer"; }
    4141
    42     void paint(PaintInfo&, const LayoutPoint&) override final;
     42    void paint(PaintInfo&, const LayoutPoint&) final;
    4343   
    44     LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const override final { return LayoutRect(); }
    45     void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
     44    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const final { return LayoutRect(); }
     45    void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final;
    4646
    47     bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override final;
     47    bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) final;
    4848};
    4949}
  • trunk/Source/WebCore/rendering/svg/RenderSVGInline.h

    r197563 r197566  
    3737
    3838    const char* renderName() const override { return "RenderSVGInline"; }
    39     bool requiresLayer() const override final { return false; }
    40     bool isSVGInline() const override final { return true; }
     39    bool requiresLayer() const final { return false; }
     40    bool isSVGInline() const final { return true; }
    4141
    42     void updateFromStyle() override final;
     42    void updateFromStyle() final;
    4343
    4444    // Chapter 10.4 of the SVG Specification say that we should use the
     
    4747    // It is also necessary to take the stroke and repaint rect of
    4848    // this element, since we need it for filters.
    49     FloatRect objectBoundingBox() const override final;
    50     FloatRect strokeBoundingBox() const override final;
    51     FloatRect repaintRectInLocalCoordinates() const override final;
     49    FloatRect objectBoundingBox() const final;
     50    FloatRect strokeBoundingBox() const final;
     51    FloatRect repaintRectInLocalCoordinates() const final;
    5252
    53     LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override final;
    54     FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerModelObject* repaintContainer, bool fixed = false) const override final;
    55     void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags, bool* wasFixed) const override final;
    56     const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override final;
    57     void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
     53    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const final;
     54    FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerModelObject* repaintContainer, bool fixed = false) const final;
     55    void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags, bool* wasFixed) const final;
     56    const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const final;
     57    void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final;
    5858
    59     std::unique_ptr<InlineFlowBox> createInlineFlowBox() override final;
     59    std::unique_ptr<InlineFlowBox> createInlineFlowBox() final;
    6060
    61     void willBeDestroyed() override final;
    62     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
     61    void willBeDestroyed() final;
     62    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
    6363
    64     void addChild(RenderObject* child, RenderObject* beforeChild = nullptr) override final;
    65     void removeChild(RenderObject&) override final;
     64    void addChild(RenderObject* child, RenderObject* beforeChild = nullptr) final;
     65    void removeChild(RenderObject&) final;
    6666};
    6767
  • trunk/Source/WebCore/rendering/svg/RenderSVGModelObject.h

    r197563 r197566  
    4848public:
    4949    LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override;
    50     FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerModelObject* repaintContainer, bool fixed = false) const override final;
    51     LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* repaintContainer, const RenderGeometryMap*) const override final;
     50    FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerModelObject* repaintContainer, bool fixed = false) const final;
     51    LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* repaintContainer, const RenderGeometryMap*) const final;
    5252
    53     void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const override final;
     53    void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const final;
    5454    void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override;
    5555
    56     void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags, bool* wasFixed) const override final;
    57     const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override final;
     56    void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags, bool* wasFixed) const final;
     57    const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const final;
    5858    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
    5959
     
    7373
    7474private:
    75     bool isRenderSVGModelObject() const override final { return true; }
     75    bool isRenderSVGModelObject() const final { return true; }
    7676
    7777    // This method should never be called, SVG uses a different nodeAtPoint method
    7878    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
    79     void absoluteFocusRingQuads(Vector<FloatQuad>&) override final;
     79    void absoluteFocusRingQuads(Vector<FloatQuad>&) final;
    8080    bool m_hasSVGShadow;
    8181};
  • trunk/Source/WebCore/rendering/svg/RenderSVGResourceContainer.h

    r197563 r197566  
    3434
    3535    void layout() override;
    36     void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
     36    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
    3737
    38     bool isSVGResourceContainer() const override final { return true; }
     38    bool isSVGResourceContainer() const final { return true; }
    3939
    4040    static bool shouldTransformOnTextPainting(const RenderElement&, AffineTransform&);
     
    6767    void removeClient(RenderElement&);
    6868
    69     void willBeDestroyed() override final;
     69    void willBeDestroyed() final;
    7070    void registerResource();
    7171
  • trunk/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h

    r197563 r197566  
    4545    SVGGradientElement& gradientElement() const { return static_cast<SVGGradientElement&>(RenderSVGResourceContainer::element()); }
    4646
    47     void removeAllClientsFromCache(bool markForInvalidation = true) override final;
    48     void removeClientFromCache(RenderElement&, bool markForInvalidation = true) override final;
     47    void removeAllClientsFromCache(bool markForInvalidation = true) final;
     48    void removeClientFromCache(RenderElement&, bool markForInvalidation = true) final;
    4949
    50     bool applyResource(RenderElement&, const RenderStyle&, GraphicsContext*&, unsigned short resourceMode) override final;
    51     void postApplyResource(RenderElement&, GraphicsContext*&, unsigned short resourceMode, const Path*, const RenderSVGShape*) override final;
    52     FloatRect resourceBoundingBox(const RenderObject&) override final { return FloatRect(); }
     50    bool applyResource(RenderElement&, const RenderStyle&, GraphicsContext*&, unsigned short resourceMode) final;
     51    void postApplyResource(RenderElement&, GraphicsContext*&, unsigned short resourceMode, const Path*, const RenderSVGShape*) final;
     52    FloatRect resourceBoundingBox(const RenderObject&) final { return FloatRect(); }
    5353
    5454protected:
  • trunk/Source/WebCore/rendering/svg/RenderSVGShape.h

    r197563 r197566  
    5252
    5353    void setNeedsShapeUpdate() { m_needsShapeUpdate = true; }
    54     void setNeedsBoundariesUpdate() override final { m_needsBoundariesUpdate = true; }
    55     bool needsBoundariesUpdate() override final { return m_needsBoundariesUpdate; }
    56     void setNeedsTransformUpdate() override final { m_needsTransformUpdate = true; }
     54    void setNeedsBoundariesUpdate() final { m_needsBoundariesUpdate = true; }
     55    bool needsBoundariesUpdate() final { return m_needsBoundariesUpdate; }
     56    void setNeedsTransformUpdate() final { m_needsTransformUpdate = true; }
    5757    virtual void fillShape(GraphicsContext&) const;
    5858    virtual void strokeShape(GraphicsContext&) const;
     
    8888    bool strokeContains(const FloatPoint&, bool requiresStroke = true);
    8989
    90     FloatRect repaintRectInLocalCoordinates() const override final { return m_repaintBoundingBox; }
    91     FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const override final { return m_repaintBoundingBoxExcludingShadow; }
    92     const AffineTransform& localToParentTransform() const override final { return m_localTransform; }
    93     AffineTransform localTransform() const override final { return m_localTransform; }
     90    FloatRect repaintRectInLocalCoordinates() const final { return m_repaintBoundingBox; }
     91    FloatRect repaintRectInLocalCoordinatesExcludingSVGShadow() const final { return m_repaintBoundingBoxExcludingShadow; }
     92    const AffineTransform& localToParentTransform() const final { return m_localTransform; }
     93    AffineTransform localTransform() const final { return m_localTransform; }
    9494
    95     bool isSVGShape() const override final { return true; }
    96     bool canHaveChildren() const override final { return false; }
     95    bool isSVGShape() const final { return true; }
     96    bool canHaveChildren() const final { return false; }
    9797    const char* renderName() const override { return "RenderSVGShape"; }
    9898
    99     void layout() override final;
    100     void paint(PaintInfo&, const LayoutPoint&) override final;
    101     void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) override final;
     99    void layout() final;
     100    void paint(PaintInfo&, const LayoutPoint&) final;
     101    void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) final;
    102102
    103     bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override final;
     103    bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) final;
    104104
    105     FloatRect objectBoundingBox() const override final { return m_fillBoundingBox; }
    106     FloatRect strokeBoundingBox() const override final { return m_strokeBoundingBox; }
     105    FloatRect objectBoundingBox() const final { return m_fillBoundingBox; }
     106    FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; }
    107107    FloatRect calculateObjectBoundingBox() const;
    108108    FloatRect calculateStrokeBoundingBox() const;
  • trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.h

    r197563 r197566  
    4848    InlineBox* closestLeafChildForPosition(const LayoutPoint&);
    4949
    50     bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom, HitTestAction) override final;
     50    bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom, HitTestAction) final;
    5151
    5252private:
  • trunk/Source/WebCore/replay/EventLoopInput.h

    r197563 r197566  
    5858public:
    5959    virtual ~EventLoopInputBase() { }
    60     InputQueue queue() const override final { return InputQueue::EventLoopInput; }
     60    InputQueue queue() const final { return InputQueue::EventLoopInput; }
    6161
    6262    virtual void dispatch(ReplayController&) = 0;
     
    6666class EventLoopInput : public EventLoopInputBase {
    6767public:
    68     const String& type() const override final
     68    const String& type() const final
    6969    {
    7070        return InputTraits<InputType>::type();
  • trunk/Source/WebCore/replay/MemoizedDOMResult.h

    r197563 r197566  
    7777
    7878    virtual EncodedValue encodedResult() const = 0;
    79     InputQueue queue() const final override { return InputQueue::ScriptMemoizedData; }
    80     const String& type() const final override;
     79    InputQueue queue() const final { return InputQueue::ScriptMemoizedData; }
     80    const String& type() const final;
    8181
    8282    const String& attribute() const { return m_attribute; }
  • trunk/Source/WebCore/svg/SVGElement.h

    r197563 r197566  
    187187
    188188private:
    189     RenderStyle* computedStyle(PseudoId = NOPSEUDO) override final;
     189    RenderStyle* computedStyle(PseudoId = NOPSEUDO) final;
    190190    bool willRecalcStyle(Style::Change) override;
    191191
  • trunk/Source/WebCore/svg/SVGTextContentElement.h

    r197563 r197566  
    105105
    106106private:
    107     bool isTextContent() const override final { return true; }
     107    bool isTextContent() const final { return true; }
    108108
    109109    static bool isSupportedAttribute(const QualifiedName&);
  • trunk/Source/WebCore/svg/SVGTextPositioningElement.h

    r197563 r197566  
    3939
    4040private:
    41     bool isPresentationAttribute(const QualifiedName&) const override final;
    42     void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override final;
     41    bool isPresentationAttribute(const QualifiedName&) const final;
     42    void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
    4343
    4444    BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement)
  • trunk/Source/WebCore/svg/animation/SVGSMILElement.h

    r197563 r197566  
    207207    SMILTime calculateNextProgressTime(SMILTime elapsed) const;
    208208
    209     bool isSMILElement() const override final { return true; }
     209    bool isSMILElement() const final { return true; }
    210210
    211211    SVGElement* m_targetElement;
  • trunk/Source/WebCore/svg/graphics/filters/SVGFilter.h

    r197563 r197566  
    4747    FloatRect targetBoundingBox() const { return m_targetBoundingBox; }
    4848
    49     bool isSVGFilter() const override final { return true; }
     49    bool isSVGFilter() const final { return true; }
    5050
    5151private:
  • trunk/Source/WebCore/workers/AbstractWorker.h

    r197563 r197566  
    5959
    6060    private:
    61         void refEventTarget() override final { ref(); }
    62         void derefEventTarget() override final { deref(); }
     61        void refEventTarget() final { ref(); }
     62        void derefEventTarget() final { deref(); }
    6363    };
    6464
  • trunk/Source/WebCore/workers/Worker.h

    r197563 r197566  
    6363
    6464        // EventTarget API.
    65         ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
     65        ScriptExecutionContext* scriptExecutionContext() const final { return ActiveDOMObject::scriptExecutionContext(); }
    6666
    6767        // ActiveDOMObject API.
  • trunk/Source/WebCore/workers/WorkerGlobalScope.h

    r197563 r197566  
    6161        bool isWorkerGlobalScope() const override { return true; }
    6262
    63         ScriptExecutionContext* scriptExecutionContext() const override final { return const_cast<WorkerGlobalScope*>(this); }
     63        ScriptExecutionContext* scriptExecutionContext() const final { return const_cast<WorkerGlobalScope*>(this); }
    6464
    6565        virtual bool isDedicatedWorkerGlobalScope() const { return false; }
    6666
    67         const URL& url() const override final { return m_url; }
    68         URL completeURL(const String&) const override final;
     67        const URL& url() const final { return m_url; }
     68        URL completeURL(const String&) const final;
    6969
    7070        String userAgent(const URL&) const override;
     
    7272        void disableEval(const String& errorMessage) override;
    7373
    74         bool shouldBypassMainWorldContentSecurityPolicy() const override final { return m_shouldBypassMainWorldContentSecurityPolicy; }
     74        bool shouldBypassMainWorldContentSecurityPolicy() const final { return m_shouldBypassMainWorldContentSecurityPolicy; }
    7575
    7676        WorkerScriptController* script() { return m_script.get(); }
     
    149149        void derefScriptExecutionContext() override { deref(); }
    150150
    151         void refEventTarget() override final { ref(); }
    152         void derefEventTarget() override final { deref(); }
     151        void refEventTarget() final { ref(); }
     152        void derefEventTarget() final { deref(); }
    153153
    154154        void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber, RefPtr<Inspector::ScriptCallStack>&&, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) override;
     
    156156        EventTarget* errorEventTarget() override;
    157157
    158         WorkerEventQueue& eventQueue() const override final;
     158        WorkerEventQueue& eventQueue() const final;
    159159
    160160        URL m_url;
  • trunk/Source/WebCore/xml/XMLHttpRequestUpload.h

    r197563 r197566  
    5353
    5454    private:
    55         void refEventTarget() override final { ref(); }
    56         void derefEventTarget() override final { deref(); }
     55        void refEventTarget() final { ref(); }
     56        void derefEventTarget() final { deref(); }
    5757
    5858        XMLHttpRequest* m_xmlHttpRequest;
  • trunk/Source/WebKit2/DatabaseProcess/IndexedDB/WebIDBConnectionToClient.h

    r197563 r197566  
    5353
    5454    WebCore::IDBServer::IDBConnectionToClient& connectionToClient();
    55     uint64_t identifier() const override final { return m_identifier; }
    56     uint64_t messageSenderDestinationID() override final { return m_identifier; }
     55    uint64_t identifier() const final { return m_identifier; }
     56    uint64_t messageSenderDestinationID() final { return m_identifier; }
    5757
    5858    // IDBConnectionToClientDelegate
    59     void didDeleteDatabase(const WebCore::IDBResultData&) override final;
    60     void didOpenDatabase(const WebCore::IDBResultData&) override final;
    61     void didAbortTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) override final;
    62     void didCommitTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) override final;
    63     void didCreateObjectStore(const WebCore::IDBResultData&) override final;
    64     void didDeleteObjectStore(const WebCore::IDBResultData&) override final;
    65     void didClearObjectStore(const WebCore::IDBResultData&) override final;
    66     void didCreateIndex(const WebCore::IDBResultData&) override final;
    67     void didDeleteIndex(const WebCore::IDBResultData&) override final;
    68     void didPutOrAdd(const WebCore::IDBResultData&) override final;
    69     void didGetRecord(const WebCore::IDBResultData&) override final;
    70     void didGetCount(const WebCore::IDBResultData&) override final;
    71     void didDeleteRecord(const WebCore::IDBResultData&) override final;
    72     void didOpenCursor(const WebCore::IDBResultData&) override final;
    73     void didIterateCursor(const WebCore::IDBResultData&) override final;
     59    void didDeleteDatabase(const WebCore::IDBResultData&) final;
     60    void didOpenDatabase(const WebCore::IDBResultData&) final;
     61    void didAbortTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) final;
     62    void didCommitTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) final;
     63    void didCreateObjectStore(const WebCore::IDBResultData&) final;
     64    void didDeleteObjectStore(const WebCore::IDBResultData&) final;
     65    void didClearObjectStore(const WebCore::IDBResultData&) final;
     66    void didCreateIndex(const WebCore::IDBResultData&) final;
     67    void didDeleteIndex(const WebCore::IDBResultData&) final;
     68    void didPutOrAdd(const WebCore::IDBResultData&) final;
     69    void didGetRecord(const WebCore::IDBResultData&) final;
     70    void didGetCount(const WebCore::IDBResultData&) final;
     71    void didDeleteRecord(const WebCore::IDBResultData&) final;
     72    void didOpenCursor(const WebCore::IDBResultData&) final;
     73    void didIterateCursor(const WebCore::IDBResultData&) final;
    7474
    75     void fireVersionChangeEvent(WebCore::IDBServer::UniqueIDBDatabaseConnection&, const WebCore::IDBResourceIdentifier& requestIdentifier, uint64_t requestedVersion) override final;
    76     void didStartTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) override final;
    77     void notifyOpenDBRequestBlocked(const WebCore::IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion) override final;
     75    void fireVersionChangeEvent(WebCore::IDBServer::UniqueIDBDatabaseConnection&, const WebCore::IDBResourceIdentifier& requestIdentifier, uint64_t requestedVersion) final;
     76    void didStartTransaction(const WebCore::IDBResourceIdentifier& transactionIdentifier, const WebCore::IDBError&) final;
     77    void notifyOpenDBRequestBlocked(const WebCore::IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion) final;
    7878
    7979    void ref() override { RefCounted<WebIDBConnectionToClient>::ref(); }
     
    110110    WebIDBConnectionToClient(DatabaseToWebProcessConnection&, uint64_t serverConnectionIdentifier);
    111111
    112     IPC::Connection* messageSenderConnection() override final;
     112    IPC::Connection* messageSenderConnection() final;
    113113
    114114    Ref<DatabaseToWebProcessConnection> m_connection;
  • trunk/Source/WebKit2/NetworkProcess/CustomProtocols/soup/CustomProtocolManagerImpl.h

    r185551 r197566  
    5555
    5656private:
    57     void start(GTask*) final override;
    58     GInputStream* finish(GTask*, GError**) final override;
     57    void start(GTask*) final;
     58    GInputStream* finish(GTask*, GError**) final;
    5959
    6060    ChildProcess* m_childProcess;
  • trunk/Source/WebKit2/NetworkProcess/NetworkLoad.h

    r197563 r197566  
    6565   
    6666    // NetworkDataTaskClient
    67     void willPerformHTTPRedirection(const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, RedirectCompletionHandler) final override;
    68     void didReceiveChallenge(const WebCore::AuthenticationChallenge&, ChallengeCompletionHandler) final override;
    69     void didReceiveResponseNetworkSession(const WebCore::ResourceResponse&, ResponseCompletionHandler) final override;
    70     void didReceiveData(RefPtr<WebCore::SharedBuffer>&&) final override;
    71     void didCompleteWithError(const WebCore::ResourceError&) final override;
    72     void didBecomeDownload() final override;
     67    void willPerformHTTPRedirection(const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, RedirectCompletionHandler) final;
     68    void didReceiveChallenge(const WebCore::AuthenticationChallenge&, ChallengeCompletionHandler) final;
     69    void didReceiveResponseNetworkSession(const WebCore::ResourceResponse&, ResponseCompletionHandler) final;
     70    void didReceiveData(RefPtr<WebCore::SharedBuffer>&&) final;
     71    void didCompleteWithError(const WebCore::ResourceError&) final;
     72    void didBecomeDownload() final;
    7373    void didSendData(uint64_t totalBytesSent, uint64_t totalBytesExpectedToSend) override;
    7474    void wasBlocked() override;
  • trunk/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.h

    r197563 r197566  
    105105    // Auxiliary Client Creation
    106106#if ENABLE(FULLSCREEN_API)
    107     virtual WebFullScreenManagerProxyClient& fullScreenManagerProxyClient() final;
     107    WebFullScreenManagerProxyClient& fullScreenManagerProxyClient() final;
    108108#endif
    109109
  • trunk/Source/WebKit2/UIProcess/GenericCallback.h

    r197563 r197566  
    120120    }
    121121
    122     void invalidate(Error error = Error::Unknown) override final
     122    void invalidate(Error error = Error::Unknown) final
    123123    {
    124124        if (!m_callback)
  • trunk/Source/WebKit2/UIProcess/efl/WebView.h

    r197563 r197566  
    231231#endif
    232232
    233     void didFinishLoadingDataForCustomContentProvider(const String& suggestedFilename, const IPC::DataReference&) override final { }
     233    void didFinishLoadingDataForCustomContentProvider(const String& suggestedFilename, const IPC::DataReference&) final { }
    234234
    235235    void navigationGestureDidBegin() override { }
     
    240240    void didRemoveNavigationGestureSnapshot() override { }
    241241
    242     void didFirstVisuallyNonEmptyLayoutForMainFrame() override final { }
    243     void didFinishLoadForMainFrame() override final { }
     242    void didFirstVisuallyNonEmptyLayoutForMainFrame() final { }
     243    void didFinishLoadForMainFrame() final { }
    244244    void didFailLoadForMainFrame() override { }
    245     void didSameDocumentNavigationForMainFrame(SameDocumentNavigationType) override final { }
     245    void didSameDocumentNavigationForMainFrame(SameDocumentNavigationType) final { }
    246246
    247247    void didChangeBackgroundColor() override { }
    248248
    249     void refView() override final { }
    250     void derefView() override final { }
     249    void refView() final { }
     250    void derefView() final { }
    251251
    252252#if ENABLE(VIDEO) && USE(GSTREAMER)
    253     bool decidePolicyForInstallMissingMediaPluginsPermissionRequest(InstallMissingMediaPluginsPermissionRequest&) override final { return false; };
     253    bool decidePolicyForInstallMissingMediaPluginsPermissionRequest(InstallMissingMediaPluginsPermissionRequest&) final { return false; };
    254254#endif
    255255
     
    259259    // WebFullScreenManagerProxyClient
    260260    void closeFullScreenManager() override { }
    261     bool isFullScreen() override final;
    262     void enterFullScreen() override final;
    263     void exitFullScreen() override final;
     261    bool isFullScreen() final;
     262    void enterFullScreen() final;
     263    void exitFullScreen() final;
    264264    void beganEnterFullScreen(const WebCore::IntRect&, const WebCore::IntRect&) override { }
    265265    void beganExitFullScreen(const WebCore::IntRect&, const WebCore::IntRect&) override { }
  • trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBConnectionToServer.h

    r197563 r197566  
    4141
    4242    WebCore::IDBClient::IDBConnectionToServer& coreConnectionToServer();
    43     uint64_t identifier() const override final { return m_identifier; }
    44     uint64_t messageSenderDestinationID() override final { return m_identifier; }
     43    uint64_t identifier() const final { return m_identifier; }
     44    uint64_t messageSenderDestinationID() final { return m_identifier; }
    4545
    4646    // IDBConnectionToServerDelegate
    47     void deleteDatabase(WebCore::IDBRequestData&) override final;
    48     void openDatabase(WebCore::IDBRequestData&) override final;
    49     void abortTransaction(WebCore::IDBResourceIdentifier&) override final;
    50     void commitTransaction(WebCore::IDBResourceIdentifier&) override final;
    51     void didFinishHandlingVersionChangeTransaction(WebCore::IDBResourceIdentifier&) override final;
    52     void createObjectStore(const WebCore::IDBRequestData&, const WebCore::IDBObjectStoreInfo&) override final;
    53     void deleteObjectStore(const WebCore::IDBRequestData&, const String& objectStoreName) override final;
    54     void clearObjectStore(const WebCore::IDBRequestData&, uint64_t objectStoreIdentifier) override final;
    55     void createIndex(const WebCore::IDBRequestData&, const WebCore::IDBIndexInfo&) override final;
    56     void deleteIndex(const WebCore::IDBRequestData&, uint64_t objectStoreIdentifier, const String& indexName) override final;
    57     void putOrAdd(const WebCore::IDBRequestData&, WebCore::IDBKey*, WebCore::SerializedScriptValue&, const WebCore::IndexedDB::ObjectStoreOverwriteMode) override final;
    58     void getRecord(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) override final;
    59     void getCount(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) override final;
    60     void deleteRecord(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) override final;
    61     void openCursor(const WebCore::IDBRequestData&, const WebCore::IDBCursorInfo&) override final;
    62     void iterateCursor(const WebCore::IDBRequestData&, const WebCore::IDBKeyData&, unsigned long count) override final;
    63     void establishTransaction(uint64_t databaseConnectionIdentifier, const WebCore::IDBTransactionInfo&) override final;
    64     void databaseConnectionClosed(uint64_t databaseConnectionIdentifier) override final;
    65     void abortOpenAndUpgradeNeeded(uint64_t databaseConnectionIdentifier, const WebCore::IDBResourceIdentifier& transactionIdentifier) override final;
    66     void didFireVersionChangeEvent(uint64_t databaseConnectionIdentifier, const WebCore::IDBResourceIdentifier& requestIdentifier) override final;
     47    void deleteDatabase(WebCore::IDBRequestData&) final;
     48    void openDatabase(WebCore::IDBRequestData&) final;
     49    void abortTransaction(WebCore::IDBResourceIdentifier&) final;
     50    void commitTransaction(WebCore::IDBResourceIdentifier&) final;
     51    void didFinishHandlingVersionChangeTransaction(WebCore::IDBResourceIdentifier&) final;
     52    void createObjectStore(const WebCore::IDBRequestData&, const WebCore::IDBObjectStoreInfo&) final;
     53    void deleteObjectStore(const WebCore::IDBRequestData&, const String& objectStoreName) final;
     54    void clearObjectStore(const WebCore::IDBRequestData&, uint64_t objectStoreIdentifier) final;
     55    void createIndex(const WebCore::IDBRequestData&, const WebCore::IDBIndexInfo&) final;
     56    void deleteIndex(const WebCore::IDBRequestData&, uint64_t objectStoreIdentifier, const String& indexName) final;
     57    void putOrAdd(const WebCore::IDBRequestData&, WebCore::IDBKey*, WebCore::SerializedScriptValue&, const WebCore::IndexedDB::ObjectStoreOverwriteMode) final;
     58    void getRecord(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) final;
     59    void getCount(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) final;
     60    void deleteRecord(const WebCore::IDBRequestData&, const WebCore::IDBKeyRangeData&) final;
     61    void openCursor(const WebCore::IDBRequestData&, const WebCore::IDBCursorInfo&) final;
     62    void iterateCursor(const WebCore::IDBRequestData&, const WebCore::IDBKeyData&, unsigned long count) final;
     63    void establishTransaction(uint64_t databaseConnectionIdentifier, const WebCore::IDBTransactionInfo&) final;
     64    void databaseConnectionClosed(uint64_t databaseConnectionIdentifier) final;
     65    void abortOpenAndUpgradeNeeded(uint64_t databaseConnectionIdentifier, const WebCore::IDBResourceIdentifier& transactionIdentifier) final;
     66    void didFireVersionChangeEvent(uint64_t databaseConnectionIdentifier, const WebCore::IDBResourceIdentifier& requestIdentifier) final;
    6767
    6868    void ref() override { RefCounted<WebIDBConnectionToServer>::ref(); }
     
    9494    WebIDBConnectionToServer();
    9595
    96     IPC::Connection* messageSenderConnection() override final;
     96    IPC::Connection* messageSenderConnection() final;
    9797
    9898    uint64_t m_identifier;
  • trunk/Source/WebKit2/WebProcess/Databases/WebDatabaseProvider.h

    r197563 r197566  
    3939
    4040#if ENABLE(INDEXED_DATABASE)
    41     WebCore::IDBClient::IDBConnectionToServer& idbConnectionToServerForSession(const WebCore::SessionID&) override final;
     41    WebCore::IDBClient::IDBConnectionToServer& idbConnectionToServerForSession(const WebCore::SessionID&) final;
    4242#endif
    4343
  • trunk/Tools/ChangeLog

    r197563 r197566  
     12016-03-03  Darin Adler  <darin@apple.com>
     2
     3        Followup to:
     4        Remove "virtual" from all lines that have both "virtual" and "override".
     5        https://bugs.webkit.org/show_bug.cgi?id=155005
     6
     7        Reviewed by Geoffrey Garen.
     8
     9        * Scripts/do-webcore-rename: Added more regular expressions to make sure we always
     10        use either override or final, not both, and to remove virtual from all lines that
     11        have both virtual and final.
     12
    1132016-03-03  Darin Adler  <darin@apple.com>
    214
  • trunk/Tools/Scripts/do-webcore-rename

    r197563 r197566  
    216216    # Should be a no-op but also OK to remove this any time, now that we have done it once.
    217217    $newContents =~ s/^(\s*(\w+EXPORT\w*\s+)?)virtual ([^{;]+ override\b)/$1$3/mg;
     218    $newContents =~ s/^(\s*(\w+EXPORT\w*\s+)?)virtual ([^{;]+ final\b)/$1$3/mg;
     219    $newContents =~ s/\boverride\s+final\b/final/g;
     220    $newContents =~ s/\bfinal\s+override\b/final/g;
    218221
    219222    if ($newContents ne $contents) {
  • trunk/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h

    r182537 r197566  
    7777    // Prohibit overrides because this is called when the web view is created
    7878    // in our constructor, before a derived class's vtable is ready.
    79     void initializeWebExtensions() override final { Test::initializeWebExtensions(); }
     79    void initializeWebExtensions() final { Test::initializeWebExtensions(); }
    8080
    8181    static gboolean webProcessCrashed(WebKitWebView*, WebViewTest*);
  • trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h

    r195899 r197566  
    9090    void platformClearAllCallbacks();
    9191
    92     virtual JSClassRef wrapperClass() override;
     92    JSClassRef wrapperClass() final;
    9393
    9494    JSObjectRef objectFromRect(const WKRect&) const;
Note: See TracChangeset for help on using the changeset viewer.