diff --git a/mozilla/layout/generic/nsHTMLParts.h b/mozilla/layout/generic/nsHTMLParts.h
index eb9ebb382c9..50e5c163ef3 100644
--- a/mozilla/layout/generic/nsHTMLParts.h
+++ b/mozilla/layout/generic/nsHTMLParts.h
@@ -32,6 +32,7 @@ class nsITextContent;
class nsIURI;
class nsString;
class nsIWebShell;
+class nsIAttributeContent;
// Factory methods for creating html content objects
// XXX argument order is wrong (out parameter should be last)
@@ -247,6 +248,11 @@ NS_CreateHTMLElement(nsIHTMLContent** aResult,
#define NS_AREA_NO_SPACE_MGR 0x10
#define NS_AREA_WRAP_SIZE 0x20
+// Special Generated Content Frame
+extern nsresult
+NS_NewAttributeContent(nsIContent ** aResult);
+
+
// Create a basic area frame. By default, area frames will extend
// their height to cover any children that "stick out".
extern nsresult NS_NewAreaFrame(nsIFrame** aNewFrame,
diff --git a/mozilla/layout/html/base/src/nsHTMLParts.h b/mozilla/layout/html/base/src/nsHTMLParts.h
index eb9ebb382c9..50e5c163ef3 100644
--- a/mozilla/layout/html/base/src/nsHTMLParts.h
+++ b/mozilla/layout/html/base/src/nsHTMLParts.h
@@ -32,6 +32,7 @@ class nsITextContent;
class nsIURI;
class nsString;
class nsIWebShell;
+class nsIAttributeContent;
// Factory methods for creating html content objects
// XXX argument order is wrong (out parameter should be last)
@@ -247,6 +248,11 @@ NS_CreateHTMLElement(nsIHTMLContent** aResult,
#define NS_AREA_NO_SPACE_MGR 0x10
#define NS_AREA_WRAP_SIZE 0x20
+// Special Generated Content Frame
+extern nsresult
+NS_NewAttributeContent(nsIContent ** aResult);
+
+
// Create a basic area frame. By default, area frames will extend
// their height to cover any children that "stick out".
extern nsresult NS_NewAreaFrame(nsIFrame** aNewFrame,