mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 821593 - remove nsIDOMCSSPrimitiveValue:::GetRGBColor() r=bz
This commit is contained in:
parent
420da4f470
commit
b8e7c40aa3
@ -13,7 +13,7 @@
|
|||||||
* http://www.w3.org/TR/DOM-Level-2-Style
|
* 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
|
interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
|
||||||
{
|
{
|
||||||
// UnitTypes
|
// UnitTypes
|
||||||
@ -59,6 +59,4 @@ interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
|
|||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
nsIDOMRect getRectValue()
|
nsIDOMRect getRectValue()
|
||||||
raises(DOMException);
|
raises(DOMException);
|
||||||
nsIDOMRGBColor getRGBColorValue()
|
|
||||||
raises(DOMException);
|
|
||||||
};
|
};
|
||||||
|
@ -479,14 +479,6 @@ nsROCSSPrimitiveValue::GetRectValue(nsIDOMRect** aRect)
|
|||||||
return error.ErrorCode();
|
return error.ErrorCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsROCSSPrimitiveValue::GetRGBColorValue(nsIDOMRGBColor** aColor)
|
|
||||||
{
|
|
||||||
ErrorResult error;
|
|
||||||
NS_IF_ADDREF(*aColor = GetRGBColorValue(error));
|
|
||||||
return error.ErrorCode();
|
|
||||||
}
|
|
||||||
|
|
||||||
nsDOMCSSRGBColor*
|
nsDOMCSSRGBColor*
|
||||||
nsROCSSPrimitiveValue::GetRGBColorValue(ErrorResult& aRv)
|
nsROCSSPrimitiveValue::GetRGBColorValue(ErrorResult& aRv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user