зеркало из https://github.com/mozilla/gecko-dev.git
Bug 332162 - vc6 bustage fixes.
This commit is contained in:
Родитель
6042221654
Коммит
e8e9528e07
|
@ -143,6 +143,9 @@ protected:
|
||||||
static PRBool IsGraphicElementEventName(nsIAtom* aName);
|
static PRBool IsGraphicElementEventName(nsIAtom* aName);
|
||||||
static nsIAtom* GetEventNameForAttr(nsIAtom* aAttr);
|
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 {
|
struct LengthInfo {
|
||||||
nsIAtom** mName;
|
nsIAtom** mName;
|
||||||
float mDefaultValue;
|
float mDefaultValue;
|
||||||
|
@ -162,6 +165,7 @@ protected:
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
protected:
|
||||||
virtual LengthAttributesInfo GetLengthInfo();
|
virtual LengthAttributesInfo GetLengthInfo();
|
||||||
|
|
||||||
nsCOMPtr<nsICSSStyleRule> mContentStyleRule;
|
nsCOMPtr<nsICSSStyleRule> mContentStyleRule;
|
||||||
|
|
|
@ -46,6 +46,13 @@
|
||||||
|
|
||||||
class nsSVGLength2
|
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:
|
public:
|
||||||
void Init(PRUint8 aCtxType = nsSVGUtils::XY,
|
void Init(PRUint8 aCtxType = nsSVGUtils::XY,
|
||||||
PRUint8 aAttrEnum = 0xff,
|
PRUint8 aAttrEnum = 0xff,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче