Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1648)

Unified Diff: Source/core/svg/SVGColor.cpp

Issue 183973036: Remove some SVG API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Retry Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGColor.h ('k') | Source/core/svg/SVGPaint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « Source/core/svg/SVGColor.h ('k') | Source/core/svg/SVGPaint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698