Bug 332162 - vc6 bustage fixes.

This commit is contained in:
tor%cs.brown.edu 2006-04-14 17:32:31 +00:00
Родитель 6042221654
Коммит e8e9528e07
2 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -143,6 +143,9 @@ protected:
static PRBool IsGraphicElementEventName(nsIAtom* aName);
static nsIAtom* GetEventNameForAttr(nsIAtom* aAttr);
// The following two structures should be protected, but VC6
// doesn't allow children of nsSVGElement to access them.
public:
struct LengthInfo {
nsIAtom** mName;
float mDefaultValue;
@ -162,6 +165,7 @@ protected:
{}
};
protected:
virtual LengthAttributesInfo GetLengthInfo();
nsCOMPtr<nsICSSStyleRule> mContentStyleRule;

Просмотреть файл

@ -46,6 +46,13 @@
class nsSVGLength2
{
// Needed to allow member classes access to our data.
// gcc/vc8 allow access without this.
struct DOMBaseVal;
struct DOMAnimVal;
friend struct DOMBaseVal;
friend struct DOMAnimVal;
public:
void Init(PRUint8 aCtxType = nsSVGUtils::XY,
PRUint8 aAttrEnum = 0xff,