bug 824970 - store nsDOMCSSRect* in nsROCSSPrimitiveValue r=bz

This commit is contained in:
Trevor Saunders 2012-12-25 22:01:06 -05:00
parent 97cc4aca7f
commit 8ed9a3bdfd
2 changed files with 5 additions and 4 deletions

View File

@ -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();

View File

@ -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;