зеркало из https://github.com/mozilla/pjs.git
Bug 332162 - vc6 bustage fixes.
This commit is contained in:
Родитель
8702a9fe80
Коммит
103dcd5ff1
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче