diff --git a/mozilla/content/shared/public/nsLayoutAtoms.h b/mozilla/content/shared/public/nsLayoutAtoms.h index 075ec6cae77..ad164da609b 100644 --- a/mozilla/content/shared/public/nsLayoutAtoms.h +++ b/mozilla/content/shared/public/nsLayoutAtoms.h @@ -58,8 +58,9 @@ public: static nsIAtom* floaterList; // Alphabetical list of pseudo tag names for non-element content - static nsIAtom* textTagName; static nsIAtom* commentTagName; + static nsIAtom* textTagName; + static nsIAtom* viewportPseudo; }; #endif /* nsLayoutAtoms_h___ */ diff --git a/mozilla/content/shared/src/nsLayoutAtoms.cpp b/mozilla/content/shared/src/nsLayoutAtoms.cpp index 9b70289774f..2da737bd0db 100644 --- a/mozilla/content/shared/src/nsLayoutAtoms.cpp +++ b/mozilla/content/shared/src/nsLayoutAtoms.cpp @@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList; nsIAtom* nsLayoutAtoms::fixedList; nsIAtom* nsLayoutAtoms::floaterList; -nsIAtom* nsLayoutAtoms::textTagName; nsIAtom* nsLayoutAtoms::commentTagName; +nsIAtom* nsLayoutAtoms::textTagName; +nsIAtom* nsLayoutAtoms::viewportPseudo; static nsrefcnt gRefCnt; @@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms() fixedList = NS_NewAtom("Fixed-list"); floaterList = NS_NewAtom("Floater-list"); - textTagName = NS_NewAtom("__moz_text"); commentTagName = NS_NewAtom("__moz_comment"); + textTagName = NS_NewAtom("__moz_text"); + viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case } ++gRefCnt; } @@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms() NS_RELEASE(fixedList); NS_RELEASE(floaterList); - NS_RELEASE(textTagName); NS_RELEASE(commentTagName); + NS_RELEASE(textTagName); + NS_RELEASE(viewportPseudo); } } diff --git a/mozilla/layout/base/nsLayoutAtoms.cpp b/mozilla/layout/base/nsLayoutAtoms.cpp index 9b70289774f..2da737bd0db 100644 --- a/mozilla/layout/base/nsLayoutAtoms.cpp +++ b/mozilla/layout/base/nsLayoutAtoms.cpp @@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList; nsIAtom* nsLayoutAtoms::fixedList; nsIAtom* nsLayoutAtoms::floaterList; -nsIAtom* nsLayoutAtoms::textTagName; nsIAtom* nsLayoutAtoms::commentTagName; +nsIAtom* nsLayoutAtoms::textTagName; +nsIAtom* nsLayoutAtoms::viewportPseudo; static nsrefcnt gRefCnt; @@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms() fixedList = NS_NewAtom("Fixed-list"); floaterList = NS_NewAtom("Floater-list"); - textTagName = NS_NewAtom("__moz_text"); commentTagName = NS_NewAtom("__moz_comment"); + textTagName = NS_NewAtom("__moz_text"); + viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case } ++gRefCnt; } @@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms() NS_RELEASE(fixedList); NS_RELEASE(floaterList); - NS_RELEASE(textTagName); NS_RELEASE(commentTagName); + NS_RELEASE(textTagName); + NS_RELEASE(viewportPseudo); } } diff --git a/mozilla/layout/base/nsLayoutAtoms.h b/mozilla/layout/base/nsLayoutAtoms.h index 075ec6cae77..ad164da609b 100644 --- a/mozilla/layout/base/nsLayoutAtoms.h +++ b/mozilla/layout/base/nsLayoutAtoms.h @@ -58,8 +58,9 @@ public: static nsIAtom* floaterList; // Alphabetical list of pseudo tag names for non-element content - static nsIAtom* textTagName; static nsIAtom* commentTagName; + static nsIAtom* textTagName; + static nsIAtom* viewportPseudo; }; #endif /* nsLayoutAtoms_h___ */ diff --git a/mozilla/layout/base/public/nsLayoutAtoms.h b/mozilla/layout/base/public/nsLayoutAtoms.h index 075ec6cae77..ad164da609b 100644 --- a/mozilla/layout/base/public/nsLayoutAtoms.h +++ b/mozilla/layout/base/public/nsLayoutAtoms.h @@ -58,8 +58,9 @@ public: static nsIAtom* floaterList; // Alphabetical list of pseudo tag names for non-element content - static nsIAtom* textTagName; static nsIAtom* commentTagName; + static nsIAtom* textTagName; + static nsIAtom* viewportPseudo; }; #endif /* nsLayoutAtoms_h___ */ diff --git a/mozilla/layout/base/src/nsLayoutAtoms.cpp b/mozilla/layout/base/src/nsLayoutAtoms.cpp index 9b70289774f..2da737bd0db 100644 --- a/mozilla/layout/base/src/nsLayoutAtoms.cpp +++ b/mozilla/layout/base/src/nsLayoutAtoms.cpp @@ -43,8 +43,9 @@ nsIAtom* nsLayoutAtoms::colGroupList; nsIAtom* nsLayoutAtoms::fixedList; nsIAtom* nsLayoutAtoms::floaterList; -nsIAtom* nsLayoutAtoms::textTagName; nsIAtom* nsLayoutAtoms::commentTagName; +nsIAtom* nsLayoutAtoms::textTagName; +nsIAtom* nsLayoutAtoms::viewportPseudo; static nsrefcnt gRefCnt; @@ -72,8 +73,9 @@ void nsLayoutAtoms::AddrefAtoms() fixedList = NS_NewAtom("Fixed-list"); floaterList = NS_NewAtom("Floater-list"); - textTagName = NS_NewAtom("__moz_text"); commentTagName = NS_NewAtom("__moz_comment"); + textTagName = NS_NewAtom("__moz_text"); + viewportPseudo = NS_NewAtom(":-MOZ-VIEWPORT"); // XXX lower case } ++gRefCnt; } @@ -103,8 +105,9 @@ void nsLayoutAtoms::ReleaseAtoms() NS_RELEASE(fixedList); NS_RELEASE(floaterList); - NS_RELEASE(textTagName); NS_RELEASE(commentTagName); + NS_RELEASE(textTagName); + NS_RELEASE(viewportPseudo); } }