mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 824970 - store nsDOMCSSRect* in nsROCSSPrimitiveValue r=bz
This commit is contained in:
parent
97cc4aca7f
commit
8ed9a3bdfd
@ -12,7 +12,7 @@
|
||||
#include "nsPresContext.h"
|
||||
#include "nsStyleUtil.h"
|
||||
#include "nsDOMCSSRGBColor.h"
|
||||
#include "nsIDOMRect.h"
|
||||
#include "nsDOMCSSRect.h"
|
||||
#include "nsIURI.h"
|
||||
#include "nsError.h"
|
||||
|
||||
@ -601,7 +601,7 @@ nsROCSSPrimitiveValue::SetColor(nsDOMCSSRGBColor* aColor)
|
||||
}
|
||||
|
||||
void
|
||||
nsROCSSPrimitiveValue::SetRect(nsIDOMRect* aRect)
|
||||
nsROCSSPrimitiveValue::SetRect(nsDOMCSSRect* aRect)
|
||||
{
|
||||
NS_PRECONDITION(aRect, "Null rect being set!");
|
||||
Reset();
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
class nsIURI;
|
||||
class nsComputedDOMStyle;
|
||||
class nsDOMCSSRect;
|
||||
class nsDOMCSSRGBColor;
|
||||
|
||||
/**
|
||||
@ -74,7 +75,7 @@ public:
|
||||
void SetString(const nsAString& aString, uint16_t aType = CSS_STRING);
|
||||
void SetURI(nsIURI *aURI);
|
||||
void SetColor(nsDOMCSSRGBColor* aColor);
|
||||
void SetRect(nsIDOMRect* aRect);
|
||||
void SetRect(nsDOMCSSRect* aRect);
|
||||
void SetTime(float aValue);
|
||||
void Reset();
|
||||
|
||||
@ -92,7 +93,7 @@ private:
|
||||
nscoord mAppUnits;
|
||||
float mFloat;
|
||||
nsDOMCSSRGBColor* mColor;
|
||||
nsIDOMRect* mRect;
|
||||
nsDOMCSSRect* mRect;
|
||||
PRUnichar* mString;
|
||||
nsIURI* mURI;
|
||||
nsCSSKeyword mKeyword;
|
||||
|
Loading…
Reference in New Issue
Block a user