Remove HTMLTableElement::attach().
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Feb 2012 18:18:12 +0000 (18:18 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Feb 2012 18:18:12 +0000 (18:18 +0000)
<http://webkit.org/b/79574>

Reviewed by Anders Carlsson.

Remove this attach() override since it was only used to assert that
we're not already attached, and this is already done by Node::attach().

* html/HTMLTableElement.cpp:
* html/HTMLTableElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108901 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLTableElement.cpp
Source/WebCore/html/HTMLTableElement.h

index a47cb53..bee496a 100644 (file)
@@ -1,5 +1,18 @@
 2012-02-25  Andreas Kling  <awesomekling@apple.com>
 
+        Remove HTMLTableElement::attach().
+        <http://webkit.org/b/79574>
+
+        Reviewed by Anders Carlsson.
+
+        Remove this attach() override since it was only used to assert that
+        we're not already attached, and this is already done by Node::attach().
+
+        * html/HTMLTableElement.cpp:
+        * html/HTMLTableElement.h:
+
+2012-02-25  Andreas Kling  <awesomekling@apple.com>
+
         HTMLTableElement: Avoid CSSParser in createSharedCellStyle().
         <http://webkit.org/b/79573>
 
index 4ad2e55..723cc42 100644 (file)
@@ -537,12 +537,6 @@ StylePropertySet* HTMLTableElement::additionalGroupStyle(bool rows)
     return columnBorderStyle;
 }
 
-void HTMLTableElement::attach()
-{
-    ASSERT(!attached());
-    HTMLElement::attach();
-}
-
 bool HTMLTableElement::isURLAttribute(Attribute *attr) const
 {
     return attr->name() == backgroundAttr || HTMLElement::isURLAttribute(attr);
index d9b86a8..15f0cf4 100644 (file)
@@ -64,8 +64,6 @@ public:
     String rules() const;
     String summary() const;
 
-    virtual void attach();
-
     StylePropertySet* additionalCellStyle();
     StylePropertySet* additionalGroupStyle(bool rows);