JSC bindings should use an auto-bound RGBColor class instead of hand-rolled JSRGBColor The time has come for this buggy custom binding to die! :)
Created attachment 33235 [details] patch
Fixed in r46211.
Comment on attachment 33235 [details] patch 646 RGBColor* CSSPrimitiveValue::getRGBColorValue(ExceptionCode& ec) const and +RGBColor* SVGColor::rgbColor() const Look like they're leaking, no? They're returning raw pointers to RGBColor object which have a ref count of 1.
It seems we eventually want RGBColor to be a wrapper around Color instead of unsigned. That way the red/green/blue/alpha accessors are already written for us (instead of having to re-write the << code.
I'm very glad you did this though. I tried and ran into Obj-C issues which I didn't really want to deal with. ;)