Remove HTMLEmbedElement::insertedIntoDocument().
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Feb 2012 19:16:13 +0000 (19:16 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 25 Feb 2012 19:16:13 +0000 (19:16 +0000)
<http://webkit.org/b/79576>

Reviewed by Anders Carlsson.

* html/HTMLEmbedElement.cpp:
* html/HTMLEmbedElement.h:

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

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

index 0e84a81..2e32a8b 100644 (file)
@@ -1,3 +1,13 @@
+2012-02-25  Andreas Kling  <awesomekling@apple.com>
+
+        Remove HTMLEmbedElement::insertedIntoDocument().
+        <http://webkit.org/b/79576>
+
+        Reviewed by Anders Carlsson.
+
+        * html/HTMLEmbedElement.cpp:
+        * html/HTMLEmbedElement.h:
+
 2012-02-25  Adrienne Walker  <enne@google.com>
 
         Fix unused variable warnings in HarfBuzzShaperBase
index 06cb9b1..a7b6b4b 100644 (file)
@@ -208,13 +208,6 @@ bool HTMLEmbedElement::rendererIsNeeded(const NodeRenderingContext& context)
     return HTMLPlugInImageElement::rendererIsNeeded(context);
 }
 
-void HTMLEmbedElement::insertedIntoDocument()
-{
-    HTMLPlugInImageElement::insertedIntoDocument();
-    if (!inDocument())
-        return;
-}
-
 bool HTMLEmbedElement::isURLAttribute(Attribute* attr) const
 {
     return attr->name() == srcAttr || HTMLPlugInImageElement::isURLAttribute(attr);
index f0fca22..7d3a208 100644 (file)
@@ -39,7 +39,6 @@ private:
     virtual void collectStyleForAttribute(Attribute*, StylePropertySet*) OVERRIDE;
 
     virtual bool rendererIsNeeded(const NodeRenderingContext&);
-    virtual void insertedIntoDocument();
 
     virtual bool isURLAttribute(Attribute*) const;
     virtual const QualifiedName& imageSourceAttributeName() const;