bug 821593 - remove nsIDOMCSSPrimitiveValue:::GetRGBColor() r=bz

This commit is contained in:
Trevor Saunders 2012-12-14 04:18:40 -05:00
parent 420da4f470
commit b8e7c40aa3
2 changed files with 1 additions and 11 deletions

View File

@ -13,7 +13,7 @@
* http://www.w3.org/TR/DOM-Level-2-Style
*/
[scriptable, uuid(e249031f-8df9-4e7a-b644-18946dce0019)]
[scriptable, uuid(f6df7293-2dc9-4cb9-9531-778caf4370e0)]
interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
{
// UnitTypes
@ -59,6 +59,4 @@ interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
raises(DOMException);
nsIDOMRect getRectValue()
raises(DOMException);
nsIDOMRGBColor getRGBColorValue()
raises(DOMException);
};

View File

@ -479,14 +479,6 @@ nsROCSSPrimitiveValue::GetRectValue(nsIDOMRect** aRect)
return error.ErrorCode();
}
NS_IMETHODIMP
nsROCSSPrimitiveValue::GetRGBColorValue(nsIDOMRGBColor** aColor)
{
ErrorResult error;
NS_IF_ADDREF(*aColor = GetRGBColorValue(error));
return error.ErrorCode();
}
nsDOMCSSRGBColor*
nsROCSSPrimitiveValue::GetRGBColorValue(ErrorResult& aRv)
{