summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLPlugInElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLPlugInElement.cpp')
-rw-r--r--WebCore/html/HTMLPlugInElement.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/html/HTMLPlugInElement.cpp b/WebCore/html/HTMLPlugInElement.cpp
index 93e1bf6..223591a 100644
--- a/WebCore/html/HTMLPlugInElement.cpp
+++ b/WebCore/html/HTMLPlugInElement.cpp
@@ -57,6 +57,11 @@ HTMLPlugInElement::HTMLPlugInElement(const QualifiedName& tagName, Document* doc
#if USE(NPOBJECT)
, m_NPObject(0)
#endif
+#ifdef ANDROID_FIX
+// addressing webkit bug, http://bugs.webkit.org/show_bug.cgi?id=16512
+// ensure the oldNameAttr and oldIdAttr are removed from HTMLDocument's NameCountMap
+ , oldNameIdCount(0)
+#endif
{
}