bug 824970 - webidl api for Rect r=bz

This commit is contained in:
Trevor Saunders 2012-12-25 22:12:15 -05:00
parent 229010d962
commit 215ca3eb57

View File

@ -31,6 +31,11 @@ public:
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsDOMCSSRect)
nsROCSSPrimitiveValue* Top() const { return mTop; }
nsROCSSPrimitiveValue* Right() const { return mRight; }
nsROCSSPrimitiveValue* Bottom() const { return mBottom; }
nsROCSSPrimitiveValue* Left() const { return mLeft; }
private:
nsRefPtr<nsROCSSPrimitiveValue> mTop;
nsRefPtr<nsROCSSPrimitiveValue> mRight;