| Index: Source/core/svg/SVGColor.h
|
| diff --git a/Source/core/svg/SVGColor.h b/Source/core/svg/SVGColor.h
|
| index cb1c1b0d3714f4c4a4e8e55d5a28d33ba724b8f2..8824adc4c8864bdf13d4faeac0653815920dbc51 100644
|
| --- a/Source/core/svg/SVGColor.h
|
| +++ b/Source/core/svg/SVGColor.h
|
| @@ -43,7 +43,7 @@ public:
|
|
|
| static PassRefPtrWillBeRawPtr<SVGColor> createFromString(const String& rgbColor)
|
| {
|
| - RefPtrWillBeRawPtr<SVGColor> color = adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
|
| + RefPtrWillBeRawPtr<SVGColor> color = adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
|
| StyleColor styleColor = colorFromRGBColorString(rgbColor);
|
| ASSERT(!styleColor.isCurrentColor());
|
| color->setColor(styleColor.color());
|
| @@ -52,14 +52,14 @@ public:
|
|
|
| static PassRefPtrWillBeRawPtr<SVGColor> createFromColor(const Color& rgbColor)
|
| {
|
| - RefPtrWillBeRawPtr<SVGColor> color = adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
|
| + RefPtrWillBeRawPtr<SVGColor> color = adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_RGBCOLOR));
|
| color->setColor(rgbColor);
|
| return color.release();
|
| }
|
|
|
| static PassRefPtrWillBeRawPtr<SVGColor> createCurrentColor()
|
| {
|
| - return adoptRefCountedWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_CURRENTCOLOR));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new SVGColor(SVG_COLORTYPE_CURRENTCOLOR));
|
| }
|
|
|
| const Color& color() const { return m_color; }
|
|
|