Remove "virtual" from all lines that have both "virtual" and "override".
[WebKit-https.git] / Source / WebCore / accessibility / AccessibilityARIAGridRow.h
index c97db29..4436c80 100644 (file)
@@ -10,7 +10,7 @@
  * 2.  Redistributions in binary form must reproduce the above copyright
  *     notice, this list of conditions and the following disclaimer in the
  *     documentation and/or other materials provided with the distribution.
- * 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
+ * 3.  Neither the name of Apple Inc. ("Apple") nor the names of
  *     its contributors may be used to endorse or promote products derived
  *     from this software without specific prior written permission.
  *
@@ -35,26 +35,26 @@ namespace WebCore {
     
 class AccessibilityTable;
     
-class AccessibilityARIAGridRow : public AccessibilityTableRow {
-    
-private:
-    explicit AccessibilityARIAGridRow(RenderObject*);
+class AccessibilityARIAGridRow final : public AccessibilityTableRow {
 public:
-    static PassRefPtr<AccessibilityARIAGridRow> create(RenderObject*);
+    static Ref<AccessibilityARIAGridRow> create(RenderObject*);
     virtual ~AccessibilityARIAGridRow();
     
     void disclosedRows(AccessibilityChildrenVector&);
     AccessibilityObject* disclosedByRow() const;
     
-    virtual AccessibilityObject* headerObject() override;
+    AccessibilityObject* headerObject() override;
     
 private:
-    virtual bool isARIATreeGridRow() const override;
-    virtual AccessibilityTable* parentTable() const override;
-}; 
+    explicit AccessibilityARIAGridRow(RenderObject*);
 
-ACCESSIBILITY_OBJECT_TYPE_CASTS(AccessibilityARIAGridRow, isARIATreeGridRow())
+    bool isARIATreeGridRow() const override;
+    AccessibilityTable* parentTable() const override;
+    AccessibilityObject* parentObjectUnignored() const override;
+};
 
 } // namespace WebCore 
 
+SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityARIAGridRow, isARIATreeGridRow())
+
 #endif // AccessibilityARIAGridRow_h