summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLEmbedElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLEmbedElement.cpp')
-rw-r--r--WebCore/html/HTMLEmbedElement.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/WebCore/html/HTMLEmbedElement.cpp b/WebCore/html/HTMLEmbedElement.cpp
index 7ffe3b1..1beb563 100644
--- a/WebCore/html/HTMLEmbedElement.cpp
+++ b/WebCore/html/HTMLEmbedElement.cpp
@@ -48,14 +48,6 @@ HTMLEmbedElement::HTMLEmbedElement(Document* doc)
HTMLEmbedElement::~HTMLEmbedElement()
{
-#ifdef ANDROID_FIX
- // addressing webkit bug, http://bugs.webkit.org/show_bug.cgi?id=16512
- // ensure that m_name is removed from HTMLDocument's NameCountMap
- if (oldNameIdCount && document()->isHTMLDocument()) {
- HTMLDocument* doc = static_cast<HTMLDocument*>(document());
- doc->removeNamedItem(m_name);
- }
-#endif
}
static inline RenderWidget* findWidgetRenderer(const Node* n)
@@ -188,12 +180,6 @@ void HTMLEmbedElement::insertedIntoDocument()
{
if (document()->isHTMLDocument())
static_cast<HTMLDocument*>(document())->addNamedItem(m_name);
-#ifdef ANDROID_FIX
- // addressing webkit bug, http://bugs.webkit.org/show_bug.cgi?id=16512
- // ensure that m_name is removed from HTMLDocument's NameCountMap
- if (document()->isHTMLDocument())
- oldNameIdCount++;
-#endif
String width = getAttribute(widthAttr);
String height = getAttribute(heightAttr);
@@ -216,12 +202,6 @@ void HTMLEmbedElement::removedFromDocument()
{
if (document()->isHTMLDocument())
static_cast<HTMLDocument*>(document())->removeNamedItem(m_name);
-#ifdef ANDROID_FIX
- // addressing webkit bug, http://bugs.webkit.org/show_bug.cgi?id=16512
- // ensure that m_name is removed from HTMLDocument's NameCountMap
- if (document()->isHTMLDocument())
- oldNameIdCount--;
-#endif
HTMLPlugInElement::removedFromDocument();
}