зеркало из https://github.com/mozilla/gecko-dev.git
fix more unsupported VC6 windows compiler junk for 333177
This commit is contained in:
Родитель
6300db4384
Коммит
bd98558d71
|
@ -280,10 +280,13 @@ protected:
|
|||
enum {
|
||||
STYLE_STROKE = 0,
|
||||
STYLE_FILL,
|
||||
STYLE_SHADOW,
|
||||
STYLE_MAX
|
||||
STYLE_SHADOW
|
||||
//STYLE_MAX
|
||||
};
|
||||
|
||||
// VC6 sucks
|
||||
#define STYLE_MAX 3
|
||||
|
||||
nsresult SetStyleFromVariant(nsIVariant* aStyle, PRInt32 aWhichStyle);
|
||||
void StyleColorToString(const nscolor& aColor, nsAString& aStr);
|
||||
|
||||
|
@ -355,8 +358,6 @@ protected:
|
|||
nsCOMPtr<nsCanvasGradient> gradientStyles[STYLE_MAX];
|
||||
nsCOMPtr<nsCanvasPattern> patternStyles[STYLE_MAX];
|
||||
};
|
||||
// this is for broken VC6
|
||||
friend class ContextState;
|
||||
|
||||
nsTArray<ContextState> mStyleStack;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче