Chromium Code Reviews| Index: Source/core/svg/SVGColor.cpp |
| diff --git a/Source/core/svg/SVGColor.cpp b/Source/core/svg/SVGColor.cpp |
| index b99b99ba22030f4c7d6d6f50655a6977a90c134d..e50e2a6246a082bd8db26530e1336af17daf7bbe 100644 |
| --- a/Source/core/svg/SVGColor.cpp |
| +++ b/Source/core/svg/SVGColor.cpp |
| @@ -41,11 +41,6 @@ SVGColor::SVGColor(ClassType classType, const SVGColorType& colorType) |
| { |
| } |
| -PassRefPtrWillBeRawPtr<RGBColor> SVGColor::rgbColor() const |
| -{ |
| - return RGBColor::create(m_color.rgb()); |
| -} |
| - |
| StyleColor SVGColor::colorFromRGBColorString(const String& colorString) |
| { |
| // FIXME: Rework css parser so it is more SVG aware. |
| @@ -56,23 +51,6 @@ StyleColor SVGColor::colorFromRGBColorString(const String& colorString) |
| return StyleColor::currentColor(); |
| } |
| -void SVGColor::setRGBColor(const String&, ExceptionState& exceptionState) |
|
pdr.
2014/03/05 22:59:34
This this actually gone? This looks like a user-vi
|
| -{ |
| - // The whole SVGColor interface is deprecated in SVG 1.1 (2nd edition). |
| - // The setters are the most problematic part so we remove the support for those first. |
| - exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly()); |
| -} |
| - |
| -void SVGColor::setRGBColorICCColor(const String&, const String&, ExceptionState& exceptionState) |
| -{ |
| - exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly()); |
| -} |
| - |
| -void SVGColor::setColor(unsigned short, const String&, const String&, ExceptionState& exceptionState) |
| -{ |
| - exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly()); |
| -} |
| - |
| String SVGColor::customCSSText() const |
| { |
| switch (m_colorType) { |